Facebook reply to message - 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)

Related

Facebook Messenger Inbox in a Web Dashboard

I am creating a web dashboard and want to integrate my facebook page messenger inbox on the dashboard, so we do not have to login into facebook or messenger to view and reply to the messages we have received on FB. For example the inboxes that frontapp, smooch provide.
I am not sure if I need to save the messages we get in webhooks and the replies also or we can access it through API.
I am also confused that if I create an app and connect that to the dashboard , that the user can reply from the dashboard and the message will be delivered to the user through the app, is it possible to send the message after the 24 hour window (plus 1 message) fb allows for apps if they reply from FB app, or it considered as bot as the messages are delivered through app.
You can get the page conversations:
https://developers.facebook.com/docs/graph-api/reference/v2.12/page/conversations
And then respond to them by conversation ID:
https://developers.facebook.com/docs/graph-api/reference/v2.12/conversation/messages

Sent a receipt through Facebook Messenger after user logged in with Facebook

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?

Need to send Email/Notification to Facebook User of iPhone app from server.

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

Facebook Send - How to find out who message recipients are

I'm building a site that I've integrated with FB Send. Is there any callback that will tell me who the messages were sent to if a user on my site uses FB Send?
At this time there is no callback from Facebook for the FB Send button you referenced. There is not currently any way to retrieve the list of recipients for which a user has just messaged via send button, sorry.

Sending messages from facebook App to the User

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