I'm trying to sent my customers a receipt through Facebook Messenger. They have already logged in to my website using Facebook oAuth2.
I can get their name, email, pictures, id and some other stuff. But in order to initiate a conversation it seems like I need their PSID - which you can only get after a user has messaged me first.
But I've seen other companies sent receipts through Messenger without the customer having to initate the conversation. How can I do this?
Related
I have Facebook user's details Like FBid, Fb user name on my server data base. I want to send email/Notification of this user on Facebook. How can I achieve this. It is very easy to send this via my iPhone app because Facebook access token is on my device but I want to send notification via Server. Please let me know How can I send this. Thanks
What have you tried?
What I have already done : After R&D I found that "username#facebook.com" will work for send email to FB user, and it was working but after AWS setup its throwing mail bounce messages :(
http://www.facebook.com/help/224049364288051
How can I send email to a facebook friend using his facebook id via fql or graph api
Sending Email to #facebook
I face an issue with replying (from with in an app) to facebook messages received in an application. The facebook is connected via oauth to this app and the FB messages will be delivered into this app.
Jijo AMT (jijo#facebook.com)sent a FB message TO Anjaly AMT(anj#facebook.com).
The Anjaly AMT facebook account is configured in the app and hence the message is delivered in app. Anjaly want to reply for this message to Jijo. Using an email client in app she does it from an email a#amt.in. Although user Jijo gets this message in facebook, it cant be recognized as reply and falls in facebook as a new message.
I would like to know, how the reply can be recognized as a reply to the FB message.( can we take use of any header info, message id etc)
I'm developing an web application in Java and using facebook account for login to my applications. After sucessfull login i need to get the logged in facebook account user friend's details including email id's. I can get the logged in user's friend's profile details but not the email ids of them. It always shows null. How do i get the email ids of my facebook friends.
Any help is very much appreciated.
Currently, this is not supported by Facebook. You cannot get user's friends' email, regardless of what permissions the user gives your app. Refer to the this for details.
After google search, all most all the posts said it is not allowed to send messages from Facebook App to friends. May be I did not understand completely what the other people are saying about sending messages.
Is it allowed to send messages from a facebook app to the user who added the app to his account? (Not to the user's friends)
There are two ways to do it: email and through the application dashboard.
It is not possible to send a mesage to a user's Facebook message inbox from an application.
Some info on emailing users: http://developers.facebook.com/blog/post/355
Info on the dashboard: http://developers.facebook.com/docs/reference/rest/dashboard.addnews/
You can use FBML to invite friends.FBML
I am developing an iPhone application that will send email to a logged in user friends'. I am using FacebookConnect for the same. The problem is I am getting the uid of all friends but what is the way to send email to these uids(friends UID).
Also I m not able to get the email id of any of the facebook friends.Can I get the emails of the users facebook friends in my iPhone App ?
Please help me out
Thanks
I don't think you can get email of friends. Although you can send an email to uids provided they have granted permission to you app.
A comma-separated list of recipient user IDs. The recipients must be people who have already authorized your application. You can email up to 100 people at a time.
Beyond general information you are require extended permissions which requires authentication (which you are using). Any extended permission works only with the user who has granted it to. So your app's user's friends will have to grant the permission to email before you can send them one. In other words, you can send a notification email to those friends of your user who have added your app and have granted you the permission to email. Facebook has this page on communicating via email.