Sending messages from facebook App to the User - facebook

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

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

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

Can a Facebook Application send a message to its users

Is it possible for a Facebook application to send a message to its users ? Sending the Message that we get next to notification(inbox) .On behalf of the Application. ?
The facebook api does not allow sending private messages (inbox) at all, not for an application or a user by an application.
For user (with a user access token) applications can use the Send Dialog or the Chat API.
As for sending user notifications from the application, check the Social Channels and Requests documentation.

How do you post a link to user's inbox in Facebook?

I am a iPhone application developer. I don't know how to send an "link" to a selected user's inbox in Facebook from my Facebook account.
You can't send messages using a Facebook API from the backend, but you can do through JS SDK or redirecting user to facebook url as per this link
FYI: Send Message
I don't exactly know if I understood your question, but: If you want to provide a link that a user follows in order to go to her/his Facebook inbox, you can use the URL scheme fb://mailbox (provided that she/he has the Facebook app installed)
As #Venu wrote, the api does not allow apps to send messages on the behalf of the user, only with the Send Dialog which you should be able to open using the iOS sdk Dialog.
Another approach you can use is the Chat API with which you can send messages on the behalf of the user, it requires the xmpp_login permission and you to implement an xmpp client.

Can we send private messages to friends of a user with offline_access permission?

Is it possible to send private messages to the friends of a user after getting the offline_access permission from him?
While sending app requests, I know its possible to send app_requests to any user(using app_access_token) who is already a part of the application. Like wise is it possible to send using offline_access permission without using send dialog or any other operation which needs the user consent?
No, this is not possible, the only Facebook communication channels you can use are stream Posts and App requests, and if the user is offline, you cannot publish posts as it is against Facebook Platform Policy IV.3.
If this is user-to-user communication, you may be able to send an email to the users username#facebook.com email address, which will create a message for them. However Policy IV.5 explains the limitations of this.