So I am building a chatbot with Facebook's messenger platform. I have come across a 'Locale/Language' issue.
When using the "Location" quick reply, Facebook uses English for the button sent to the user ('Send location').
Seeing as this chatbot is being used in French Polynesia, I need the button text to be in French.
Does anyone know how to do this ?
Thanks in advance.
AFAIK, its not possible for all the standard Messenger text (like 'Menu' in Hamburger menu, Send Location etc.,). I tested it by changing the user profile locale as well.
Even sending title for quick_replies entries don't help.
Thanks
Sriram
Related
Does one tap sign in (YOLO API) has languages available besides english?
Unable to find such info here - https://developers.google.com/identity/one-tap/web
Would appreciate amy info.
Google One Tap will always use the preferred language settings of the Google user.
For legal reasons, Google One Tap doesn't allow 3P website to control the language. Otherwise, users may click the big blue button (with caption 'Continue as XXX') without understanding the GDPR message.
Hello i have a question about bots in telegram, 2 years ago we could create telegram bots easily with chatfual bot, now i need make a bot that has menu button from bottom and when user tap on the button it answers the user and send the message like before, is there any full tutorial about it from youtube? i searched but i didn't get answer because all of the videos talks about inlinekeyboard but i need menu keyboard buttons not inlinekeyboard, i need full tutorial of python or any other language that tells me how can i make buttons like this, or is there any website that help me make bots like i said without coding? i don't want make these type of bots from other bots of telegram i want coding way or websites.
thanks.
like this picture
also want make more buttons whithin button
Check that, it's tottaly what you search :
https://irazasyed.github.io/telegram-bot-sdk/usage/keyboards/#keyboards
And
https://medium.com/#chutzpah/telegram-inline-keyboards-using-google-app-script-f0a0550fde26
I've used services like 'Add This' for a while but now I need to add a couple of specific bits of functionality to an ecommerce order completion page. It's to work like Amazon's order thank you page where it allows you to post a message to Facebook saying something like 'I just bought a widget on Amazon'.
Equally I'm looking for the equivalent in Twitter.
I've added a bunch of OG tags and share buttons but can't get it to do what I need. From further reading it sounds like I might need to create a Facebook app of some sort and use FB ui to create the link to post to the user's wall. I was hoping to do this without getting tangled up in that level of permissions etc but maybe that's not possible any more?
This is being developed on asp.net C#, in case there's a library that I haven't found in my searching.
Can anyone familiar with this type of development point me in the right direction?
For Twitter, the simplest way is to use Web Intents.
For example, if you want to share the text
I love http://example.com
URL encode the text to I%20love%20http%3A%2F%2Fexample.com and use the Twitter Web Intent URI. E.g.
https://twitter.com/intent/tweet?text=I%20love%20http%3A%2F%2Fexample.com
When the user clicks on that link (try it!) or is directed there by your service, they'll be prompted to share that text.
greeting,
I've create a contact site using webform (fields: name, email, message). That part is easy. Now my next phase is to fetch the data into a pdf and send it to the user. Basically what I want is when the user click the submit button, his/her email address will automatically receive an email from the site attach a pdf file containing the data/s filled in the form.
PS: I'm using drupal v5.2.
Hope anyone can help me here.
Your version of Drupal is very badly out of date, which I'm sure you know. My experience with creating PDFs in the past was to look into PECL libraries. For example: http://pecl.php.net/package/pdflib
The person who manages this modules is very responsive and helpful...
http://drupal.org/project/fillpdf
A fine example of using Webform to do this is here.
I'm trying to have my fanpage's "welcome" page to show a different video and lines of text wether they are using french settings on facebook or english. So those using the french facebook UI will see the french video and text below and those using the default english will see the default english page.
Hopefully someone can point me to some help, I really am not sure how ot do this...
Use locale property of Graph User object if you have a custom app tab. Info here: http://developers.facebook.com/docs/reference/api/user/
Also, would be good to read this: http://developers.facebook.com/docs/internationalization/
I don't think you can translate the non-app facebook page at the moment.
When a user access the fanpage's tab, the application that provides the tab content get 'signed_request' from Facebook. In signed_request, there is 'user.locale' property. Just use it to determine what locale code the user is using.
http://developers.facebook.com/docs/authentication/signed_request/