Does anyone also experienced this type of problem? Webhook works perfectly fine with the rest but just with 1 certain user I'm not receiving anything from the webhook. It's not even called from facebook
The user already tried to uninstall and install back the messenger application but still the same result. Maybe there's something in their settings that need to be turned on or what
I somehow confirmed that facebook API has some traffic issues and sometimes have a delay in showing messages that are sent through their APIs. So patience is a virtue :D
Rookie facebook api/developer user here. I have a couple questions hoping someone can shed some light on.
My use-case:
Facebook page user leaves rating/review
App receives webhook event with information about webhook event
(https://developers.facebook.com/docs/graph-api/webhooks/reference/page)
Using that event info, we initiate a messenger chat conversation with
the user
This seems like a common scenario.
My understanding of what needs to be done:
Create a facebook app
Add page webhooks product to app (specifically subscribe to ratings
event)
Wire up webhooks to my API (exposed via ngrok)
Add messenger product to app
...Somehow initiate convo with user (using reviewer_id??)
Does anyone have a good description of how to do this from end-to-end?
I have done most of this, but I cannot figure out how to do this in the test/sandbox facebook. Do I need to create a test version of my app, create a test page, and then use the graph api to subscribe the test app to the test page?
Thanks guys. The docs are nice and all, but there's no detailed directions on testing this end-to-end on the sandbox facebook. I don't have time to wait for an app review to test the functionality.
Thanks in advance!
Following the recent changes for facebook developer, i had this alert on the webhook section on the developer dashboard, and therefore no webhook messages are received from 'testers, devs, etc' ;
Application will only be able to receive test webhooks sent from ...
Facebook not allowing webhooks anymore in development mode
As a result i am unable to test my mesenger bot apps. I am administrator of my Pages as well as I am administrator of my facebook application.
Whenever I add any comment or likes on my pages, I don't get any webhook event fired.
My pages have subscribed to my app.
The problem now is - My application is in development mode. I can't test it. And facebook won't approve it because they also are not able to test it as I have to mention steps.
Any help will be much appreciated.
I am using the normal setup for sending invites through the requests dialogue:
FB.ui(
{
method: 'apprequests',
message: "Please add me, I am doing the same, thanks!"
},
function(response) {
console.log(response);
}
);
The response is successful, response.to shows multiple ids. So sending these invites works like it should. The problem is that these apprequests are not shown up as notifications like they usually do, instead the only place to find them here.
Has the API changed? Looking for answers has given me no results, though I did find this bug report from February 15th 2013.
Is Facebook just testing yet again, or has the API changed but not the documentation? I am truly grateful for any insights!
There's two simple things that might cause that problem.
One is that you application is missing the Canvas. Just add it from the your App panel in Facebook Developers.
The second one - make sure your app is NOT in SandBox Mode. If it is it won't send any notifications. I lost hours before figuring that out and changing the code in all possible ways.
Hope that helps.
Its not facebook bug its a problem in your facebook app configuration :
Follow the below configuration and its working like a charm.
You just need to go in to the Facebook developer and select your app and goes in to the setting of your app and click "Add Platform" and select "App On Facebook" and than add canvas url in it. now try to send invitation and it will show the notification.
Thanks
Sagar
or go to facebook developers,
Change 111 to your APP ID
-Fedmich
This was posted yesterday in facebook bugs site.
However, it is still not working for me even though I'm utilizing the exact code that the FB comment is referencing.
I realize this is not complete answer to the question and should be put in the comments. However I am a newbie and don't have enough reputation on StackOverflow to post comments. Emil, could you please let me know if you resolve this issue.
Had same issue, I added Secure Canvas URL, etc. But problem was I haven't provided iPhone Store ID inside iOS section in Settings.
As of Graph API 2.3, Game requests are only available to games.
As mentioned in Game Requests description, you have to create Facebook Web Games in App Portal, then you will get the notification with Game Request. Not for website anymore.
I had to implement facebook ‘apprequests’ instead of the deprecated ‘appinvites’ in an existing cordova app and spent hours debugging.
‘apprequests’ are only available in Facebook Apps categorized as ‘games’.
You can send notifications only to platforms (iOS, Android, Facebook web games) that are involved with the facebook app. That means, you will never receive a notification in your browser if you miss ‘facebook web games’ as platform. My expectation was to be notified in the facebook browser app if I was invited from a Mobile app.
iOS devices don’t get notifications.
In my case, I’ve missed to fill the app store id in the Facebook app platform configuration. After that, notifications appeared instantly.
If you like notifications in the fb browser app, you have to add ‘Facebook web games’ (formerly known as ‘canvas’) as plattform.
You can save yourself a lot trouble by creating test users in the app role category of your facebook app.
I am having a strange problem while making app requests. I understand that when an app request is made through my app, it also puts a notification in the top saying so and so has sent a request from this app. Now, while I can successfully make the request, the bookmark count goes up but I do no get a notification at all. Is there something i could be missing? I'm following instructions from this blog post on Facebook developer site - http://developers.facebook.com/blog/post/464/. I am new to Facebook development so if it's something simple, please point me in the right direction.
Thank You.
I've had issues with this in the past but it looks like Facebook have very recently acknowledged this and brought about correcting the issue.
http://developers.facebook.com/blog/post/540/
App to User Requests now display messages
Previously, when apps sent notifications to users (available by posting a request to the apprequests connection of the User Graph object, as documented in Social Channels), the bookmark counters were incremented, but the message included with the notification was not shown. As of this week, if you send an app to user notification, we will also display the notification message in the apps or games dashboards. This provides app developers a more effective way to communicate application-level updates to users. Note that the ticker count is now shown in bookmarks, hovercards and, for games, in the games ticker. As a result of this change, your users may see an increased number of notification messages from your application.