I am trying to revive an old Facebook bot. The problem is that I got pages_messaging permission revoked and now the users are not getting replies from the bot. It replies to me, as developer.
I sent request to add this permission but since they cannot test the correct behaviour of the bot (he's not replying to users) they denied the request.
Does anybody have any ideas how to solve this issue?
Thanks!
Related
I have a chat bot linked from Dialogflow to Facebook Messenger. Everything is set up but now it just needs pages_messaging permission approval from the Facebook team. I have submitted the request and the Facebook team messaged me this:
This is a test message from the Facebook team. Please respond from your app within 2 days to confirm that the integration is functioning.
However, the Facebook team test account is not able to receive messages from my app due to the app not having the pages_messaging permission in the first place. What should I do now? Will they not accept my request? Please help, I am new to this. Thanks!
I am creating an application where I need a user to be able to grant us access to their facebook page so that all incoming messages can flow through our application (as well as outgoing).
I have this all working correctly, but facebook will not approve my app due to the facebook permission pages_messaging and them "not receiving a response from my bot" (I have been denied three straight times). What am I doing wrong here? We are not using bots, do I even need the pages_messaging permission (I am using their webhook to get incoming page messages, and graph api to send outgoing)?
When submitting app, pages_messaging permission says:
Please provide the page that can be used to test this bot. Make sure the bot is properly connected and functional, otherwise your submission may be rejected.
Here is facebook's feedback from my submission (denied multiple times):
Thank you for your submission. We tested the messenger experience on your associated page and received no response from your messenger bot. Please resubmit with the new, improved version of your bot.
You got to create a bot to use the messaging API: https://developers.facebook.com/docs/messenger-platform/implementation
To just read/send messages:
https://developers.facebook.com/docs/graph-api/reference/v2.6/conversation/messages
You can use the /pageID/conversations endpoint to retrieve all conversations your page has had with FB profiles.
Next you can read/post to the /conversationID/messages endpoint to read/respond to a person.
And you can even subscribe to the conversations field for pages with webhooks.
You will need a page admin's page access token that has the read_page_mailboxes permission scope to set up the subscription, and to read/reply to messages.
In an Unity Game, i use the facebook scores api, so i need the publish_actions permission (https://developers.facebook.com/docs/games/scores).
Despite of i tested my functionality and made requests with test users and real users, when i go to submit to review the app in order to get approved the permission, i have an issue, "it looks like you haven't made any API requests to publish content with the publish_actions permission...", so i can't submit to review de app on facebook.
Somebody have any idea? i only use publish_actions for score managements.
Thanks
it looks like you haven't made any API requests to publish content with the publish_actions permission...
They telling you did not made any API call with that permission. But by telling your steps seems you did API call, so Just try again. Make sure you are passing the publish_action while requesting access token.
I received permission from facebook api to request user's birthday. So it's like everything is fine and in developers.facebook.com I can see, that user_birthday is live. Everything is fine till I request real permission on the web-site, then I can see that there are only public_profile, frienlist and email are requested.
What can be problem? Application is also live.
APP ID is 1564733130411506.
Thanks a lot.
Has your app passed the Login Review regarding the user_birhtday permission? I guess not.
See
https://developers.facebook.com/docs/facebook-login/review
I've been trying to solve this problem for a while now and I can't seem to get it to work.
I want my website's users to link their facebook account with my website. So they can see their stream e.t.c on my site.
All of this is working fine. But now I want to give the users an option of being able to disconnect their facebook account from my site.
In order to do this, all I do is delete the offline authentication key that I have with me. But the next time, the user tries to reconnect their facebook, I get an error which says "An error has occured"
The user has deleted permissions on my end but has not revoked access to my app on facebook. This is when the issue occurs. Is there a way for me to revoke access through the api?
You you delete the access token on your end then you need to get a new one through the API when they want to "reconnect".
Also be aware that the offline_access permission is going away:
https://developers.facebook.com/roadmap/offline-access-removal/
So this is something you're going to need to be doing in the future anyway.
I figured out that the solution to my problem was to send a DELETE request to /user_id/permissions with the access_token.
This deletes all permissions for the app.