Facebook Messanger pages_messaging permission OAuthException - facebook

I have created a messenger app that was approved with the pages_messaging permission.
Even though it was approved and the app is live, when I try to post messages it keeps on saying:
{"error":{"message":"(#10) Cannot message users who are not admins, developers or testers of the app until pages_messaging permission is reviewed and the app is live.","type":"OAuthException","code":10,"fbtrace_id":"FuSikGYV3dH"}}
The app is public - I have managed to find it.
The app is approved
The pages_messaging permission was granted.
So why it keeps on throwing this error?
General app permissions:
messaging permissions:
Any ideas what's wrong?
Thanks!

You have to check and put your app LIVE under developer Dashboard -> App Review!

Related

How to get approval for my app to receive pages_messaging approval?

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!

Is Facebook App Review required for public_profile

Yesterday for one of my facebook applications I received an alert message in the developers console that states:
App Review required by August 1, 2018 to retain access to Facebook Platform APIs ... if your ap is not submitted you will loose access to these permissions: user_link, user_gender, user_age_range, user_friends
My application only uses the public_profile permission, which does not require review according to their documentation.
At the same time I am not able to submit my application for review from the developers console because it requires login permissions to be selected and public_profile is not listed there.
Should I be worried that I can't submit my App for review or am I misunderstanding the 'App review form'?
public_profile is deprecated in v3.0 of the Graph API: https://developers.facebook.com/docs/graph-api/changelog/version3.0
It is just a warning though, if you don´t use those permissions then you should be fine for now. Take a look at the changelog about public_profile replacements though.

Facebook app submission for approval with extended permission in php

I an using facebook app in my website with extended permissions like read_stream, publish_actions.
But when I look to submit for approval there i see a section "Add items for submission". But I could not found "publish_actions" permission and some other permissions there.
Actually When any user login then I am asking for "email and read_stream".
But after login I need to take extended permissions on certain button click.
My permissions are:
email
offline_access
public_profile
user_friends
user_status
read_stream
publish_actions
So please suggest me How can I submit my app for approval and with which permissions. Should I mentioned all permissions in facebook app approval process ??
You should request review of all permissions that you want to use. When your app is in development mode, you (being Admin, Developer or Tester on the app) can use all the permissions available. When your app is in live mode, it can only use the permissions that have been approved. Even if you pass in more permissions to the Login Dialog, it will only show those that have approved for your app by Facebook.
As CBroe mentions, the read_stream permission is very restricted. From the permissions submission dialog:
This permission is granted to apps building a Facebook-branded client
on platforms where Facebook is not already available. For example,
Android and iOS apps will not be approved for this permission. In
addition, Web, Desktop, in-car and TV apps will not be granted this
permission.

Facebook read stream permission issue

I want permission to read stream of the user so that I can keep track of likes, comments and shares of user post but facebook is not letting me the permission with the reason that "The read_stream permission is only granted for apps building a Facebook-branded client on platforms where Facebook is not already available. ", but what if I have a facebook app which requires the permission to read stream. pls help
You can´t get read_stream approved. period.
This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop, in-car and TV apps will not be granted this permission.
Source: https://developers.facebook.com/docs/facebook-login/permissions/v2.2#reference-read_stream
You can only try to get user_status approved and use /me/statuses - but you will only get posts of the user that way, not posts of his friends.
Edit: There is a new permission called "user_posts" that may be sufficient for you, check it out in the changelog: https://developers.facebook.com/docs/apps/changelog#v2_3_new_features

Testing "publish_actions" in Facebook app

How do I configure my Facebook app so that I can test "publish_actions"?
Is 'publish_actions' extended permissions available for testing?
How can I request the "publish_actions" permission?
The above two questions are identical, but the answers are out of date; they are all from the beta version of the Open Graph API and the introduction of the "publish_actions" permission.
The permissions are added with the login code using parameter scope. Details here
After adding the permission the admin/developers/testers of the app can test your application and publish posts; while app is in development mode.
When your app is ready submit your app for the login review. After they approve your app with this permission, you can make your app public and everybody can publish post using your app. That's it.