read_page_mailboxes permission with Messenger ChatBot - facebook

I'm building a Messenger ChatBot wich can handle automated answers and can switch to human conversation with Messenger Handover Protocol. My app is in development and I requested publish_pages, read_page_mailboxes and manage_pages to do that (I got an extended Page token) and It worked perfectly !
Now, I'm facing an issue. I Want to be in production and request permission for publish_pages, read_page_mailboxes and manage_pages and Facebook is asking for the plateform (like in the picture below) : I know I have to complete the other fields ... but
It's not a web app, neither and android app ... or somthing else ! It's a Messenger ChatBot.
How can I do to request permission properly ? Thanks.

You need to have special permission from facebook to use those permission in your app. Click 'Add Details' beside each of the permission and fill up the form properly with required use case scenarios. Then submit the app to facebook for app review. After couple of days your app and bot should be verified if everything is ok.

Related

Rejected from Facebook app reviewer "Please refer to the permission decision"

I got this message from app reviewer "Please refer to the permission decision." and i couldn't understand what it is.
This is our screencast , we're using ads_management permission to reach ad posts created by ads manager.
This requires manage_pages and ads_management permission actually but we already have manage_pages permission.
https://developers.facebook.com/docs/graph-api/reference/page/ads_posts/
This same thing happened to me. I ended up messaging Facebook App Review Support. In my case, I did not add the permission to the request list when the user logged in with their Facebook account, plus what I was trying to achieve with my test users just plain didn't work when the reviewer tested it (most likely because of not including it in the request list inside of the Facebook login pop up window).
I would suggest using the Facebook App Review Support chat widget. They are a huge help!
Please have a discussion with Facebook App Review Support, they can explain the issue in the app.
You can find the messenger button to contact them in the bottom right part of the screen App Review > Requests, then click on view details and you'll be redirected to a page with a whole lot of explanation of the rejection. There you can see a messenger button in the bottom right corner, click and proceed.

Manage_pages permission for webhooks

We are trying to configure webhooks for one of Facebook page we are managing.
To use webhooks product in our app, we need manage_pages permission.
So, we have created the screencast & submitted for review.
It is being repeatedly rejected saying, 'Please show the Facebook pages managed by your website on your website'
Ours is a server-to-server app. We don't have a website through which we manage this page. We manage that page by logging in to Facebook directly via https://www.facebook.com
How can we get this kind of app (which uses manage_pages permission for webhooks only) reviewed? What are we missing? Can somebody help?

Facebook Api Messenger subscribe webbook programmatically

In this Facebook docs page we learn how to create a bot for receiving and sending messages through a Facebook Page.
Is there a way to connect between a webhook and a page programatically and not manually?
If my product is a generic bot for Facebook Messenger, I want to be able to register him to pages without asking my clients to grant me an admin permission to their Facebook Page.
In case anyone else still has this problem, in addition to using the app subscription edge and the page subscription edge, you also need the following permissions: manage_pages, pages_messaging, read_page_mailboxes. The page was not showing up for me in the app > messenger settings until I added the read_page_mailboxes permission.

Facebook app - Do i need those permissions?

I created an app for my clients. They uses this app from their website to post on their Facebook Page (and as the Facebook Page).
they use a Facebook Login button to connect to Facebook (with an account that can publish post on the page) from their website,
they complete a form
when the form is submitted, an article is created on the website AND a post is created on the FaceBook Page.
I ask for publish_action permission and manage_page permission when the user connects.
Those permissions need a review from Facebook, so I ask for it but the FB team says that I "only need those permissions when I use a public-facing Login". Is that not the case?
Currently, my app only work when I connect with the account that created the app.
You do need those permissions, but if the App is for your client only you donĀ“t need to get them reviewed. Just add your client as Admin, Developer or Tester of your App and the permissions will work for him without review.

new app-id - OAuthException (#200) on post comment

Since I created a new (Facebook) App last week, I get an OAuthException whenever I want to comment on a post.
"(OAuthException) (#200) You do not have sufficient to permissions to perform this action".
With the old App, my application works fine.
Now I found out that Facebook has changed the login policy recently. I also found the following remark on https://developers.facebook.com/docs/facebook-login/permissions/v2.0:
"If your app asks for more than than public_profile, email and user_friends it will require review by Facebook before your app can be used by people other than the app's developers".
So if I post with the same account with which I created the App, it should work, right? Only it doesn't...
Remark: if I use the new App with another Facebook-account, I have even less permissions (e.g. cannot access the account's pages). So I have more permissions if I use the same account, but still I cannot post!
I use Graph API via .NET Facebook-Client; my App is a native app (desktop app).
Could someone please tell me how to post with a new App? This is the main use-case of our application! Thank you very much!
Here is a screenshot of what I see instead of the login-screen when I use extended permission "publish_action" instead of "publish_stream"
You must be able to post with your own account since you are the admin of the application. - since only the admins/developers/testers will be able to test the app with the publishing functionality before it gets approved by facebook.
If you still are not able to, you must have not granted the permissions to the app. Things to check-
You are using publish_actions and not publish_stream
Check in your application settings whether or not you can see the publishing permission is granted for that app.
If not granted, go through the login process again and grant the publishing permission (may be by removing the app from settings and then authorizing again OR logout the app and then login again with publish_actions)
Problem solved - it was a stupid typo: I wrote publish_action instead of publish_actions (should be plural)! Thanks again to CBroe who pointed it out in this thread!