Testing "publish_actions" in Facebook app
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.
Code-Apprentice
I primarily program in C++ and Java. Recently I started learning Haskell. My current mathematical interests are group theory, graph theory, category theory, and type theory. I also enjoy playing chess and Go. My Amazon wishlist
Updated on June 12, 2022Comments
-
Code-Apprentice almost 2 years
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.
-
Code-Apprentice almost 10 yearsMy problem has been getting the feature to work correctly for the review process. I finally figured out how to add the permission to a test user using the Graph Explorer in the Developer console. How do I request the permission when the user logs in?
-
Code-Apprentice almost 10 yearsWill the permission be requested automatically after my app is approved to use it?
-
Sahil Mittal almost 10 yearsNope. As I have mentioned the answer that the permissions are added with the
scope
parameter in your Login code. Adding permissions to the Graph API Explorer is just for test. Just addscope
in the Login with the required permissionpublish_action
. Check out the link "Details here" I've added in the answer -
Code-Apprentice almost 10 yearsThanks. The quotes around
scope
help the first sentence make a lot more sense! -
Code-Apprentice almost 10 yearsI still haven't quite solved my problem. I am probably not asking the right questions, though.
-
Code-Apprentice almost 10 yearsI gave this answer an upvote. I just haven't decided whether or not to accept it yet.
-
Sahil Mittal almost 10 yearsCool. But let me know on what part you are still stuck on
-
Code-Apprentice almost 10 yearsThanks for offering your help. I'm actually using a third-party library for Android called socialauth-android. I'm having difficulty getting it to request the "publish_actions" permission. Their example works fine for me until I change the keys to my own app.
-
tomjung over 9 yearsDid you ever figure this one out? Same problem, I added publish_actions to the scope parameters however it does not add them when the test user logs in. I'm in development mode currently and have not request approval.
-
Sithu about 9 years@tomjung Are you experiencing like that stackoverflow.com/questions/29700838/…