On FACEBOOK ios app can't got "push notification" via sent apprequests? - facebook

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 .

Related

Unity Facebook SDK appInvite not showing notifications

I'm implementing a game which features inviting your Facebook friends to your app using the Facebook SDK.
The code I'm using is:
FB.Mobile.AppInvite (new System.Uri(appLink), null, callback);
The app link is the proper one setup in the facebook page of the app.
The problem is this: the user doesn't receive a notification inside the FB app to install my game. Instead, you have to go to the Facebook App -> Apps -> App invites and it appears there. In the Facebook docs it says the user should receive a notification to invite.
What is the issue here?
PS: the app is not live yet, but the friends that are invited are set as testers.

How can I get notification on iphone facebook app from facebook mobile web app

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.

Facebook Mobile Notifications

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.

Why do Facebook iOS app is not receiving notifications for application requests?

I am sending a request dialog like this:
[delegate.facebook dialog:#"apprequests"
andParams:params
andDelegate:self];
The notifications on desktop work great. But the Facebook iOS app doesn´t receive any notifications at all. (Neither in-app, globe icon with red number, or Push).
I see this behavior in Path iPhone app. Here you send requests with dialogs and the Facebook iPhone client successfully receives the request notification:
Thanks a lot in advance.
If you want requests sent to your app's users to appear in the Facebook iPhone app, you need to configure your app settings so that Facebook knows the details of the iPhone version of your app - otherwise the requests aren't displayed as Facebook doesn't think the user can act on them.
The most relevant settings are 'iOS App ID' and 'iOS bundle ID', some of the other settings under 'Native iOS App'may be applicable also depending on how your app integrates with Facebook

Send a message to a Facebook profile using an iPhone application

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.