I am creating an iPhone application using the Facebook SDK. How do I post a message to a selected friend such that the message can be found in their profile?
I have no idea how to implement this.
Facebook does not allow messages to be sent via the API at this time. Applications can send notifications, but nothing but Facebook has access to the message/inbox API yet.
Related
I am trying to integrate Facebook Messenger to my app. However, it seems like for the reply flow to work, app needs to be on App Store and approved by Facebook. I doubt the app would be approved by App Store without the reply flow working. Is there any way of breaking out of the cycle?
I have made facebook mobile web app.
It sometimes send the facebook push notifiactions.
Facebook web page(www.facebook.com) recieves the notifications well, but the facebook mobile app(iOS and android) doesn't.
Is it possible to send notification to the facebook mobile app from my facebook web app?
Thank you.
Are you using the notifications api ? If so, you should know it only sends out notifications on the website. From https://developers.facebook.com/docs/app-notifications/,
Note: Only apps on Facebook.com can use the Notifications API. Also these notifications are only surfaced on desktop version of Facebook.com.
I'm trying to send notifications to user through an app, but they don't show in any mobile device.
For example, the user makes an action that sends a notification o other user. If he is on a Computer browser he can see the notification, but in iOS/Android/Mobile Facebook the notification don't show up.
Can you guys help me?
Regrads,
Elkas
Are you talking about the Notifications API where you make a POST request to /{recipient_userid}/notifications?
If so, this is intended behaviour. From the docs:
Note: Only apps on Facebook.com can use the Notifications API. Also
these notifications are only surfaced on desktop version of
Facebook.com.
In my app, I can send the apprequests to my friends via FB api, and they can receive the Notification on iOS Facebook app. But here is a difference between "apprequest" and "postToWall". If I posted to my friend's wall something via Web, my friend would receive "Push notification" on his iPhone immediately. If I sent the apprequests to him, he wouldn't receive "Push notification" and just only "Facebook notification". Moveover, he needs to run the iOS Facebook app to update the data to receive the "Facebook notification".
Does anyone know this ?
For the app requests to work fully, you need to have a canvas app specified. Otherwise the notifications won't work as expected. From
http://developers.facebook.com/docs/reference/dialogs/requests/
Requests are only available for Desktop Canvas apps and not websites.
Accepting a request will direct the user to the Canvas Page URL of the
app that sent the Request.
More information can also be found here: http://developers.facebook.com/docs/requests/
Thanks a lot . And I found this http://developers.facebook.com/bugs/283253458391756 .
Moveover , my application works right after removed the parameter "notification_text" when using api "apprequests". It looks the FB demo Hackbook just misgruided me .
I want to write a facebook app in which I'll show a list of the people who gave permission to use the app.
Each user would be able to pick another user from the list and send them a message from the app.
Is there any facebook api call I can use? Or I have to develop a stand alone messaging system?