All new Facebook applications (created today – Apr 25, 2018) can’t be authorized with publish_actions permission.
Facebook just complitely broke an ability to post through its native API. All apps that were created before today are still working fine and can be authorized without any new issues.
All apps created today show this error during the authorization: “Invalid Scopes: publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if present”.
publish_actions is a permission that allows Facebook apps to create posts on Facebook. Since this permission is no longer available to new apps, it basically means new apps can’t post there anymore.
At this point we don’t know if its a bug or Facebook deliberately turned off an ability to post through its API. They provided no info about that (as usual).
[Update] Facebook published an explanation.
Deprecation:
The publish_actions permission will be deprecated. This permission granted apps access to publish posts to Facebook as the logged in user. Apps created from today onwards will not have access to this permission. Apps created before today that have been previously approved to request publish_actions can continue to do so until August 1, 2018. No further apps will be approved to use publish_actions via app review.
This means that they have officially closed an ability to publish to user profiles through the native Facebook API.
[Update 2 (*****Solution (Only for v 2.12 Apps )*****) ] Please update your plugin. SNAP WordPress plugin 4.2.3 has been released. It has two authorization links:
If your app was created AFTER April 24, you need to use the top link “Authorize Your Facebook Account without “publish_actions””. The other link will cause “”Invalid Scopes: publish_actions” error.
If your app was created BEFORE April 24, you can the second link. You still will be able to post to your profile until August 1, 2018
[Update 3: May 1st, 2018 (Facebook released API v3.0) ] Facebook officially closed unrestricted access to its API with API v3.0 release.
All API 3.0 Apps (created on or after May 1st, 2018) just show this error during the authorization:
and this error on attempts to post:
[Error] => (#200) Requires either publish_actions permission, or manage_pages and publish_pages as an admin with sufficient administrative permission
PS: Premium NextScripts API for Facebook has full support for publishing to profiles, pages and groups.
Hi,
The without “publish_actions” option is not working either.
Please help.
What exactly do you mean by that?
In 4.2.3 version there are 2 links with and without “publish action”. The result is the same for both: “invalid scopes…”.
Facebook officially closed unrestricted access to its API: https://www.nextscripts.com/news/2018/05/facebook-officially-closed-unrestricted-access-to-its-api/
man, there is no way to select No on the enforce https…
Facebook no longer allows non-HTTPS sites
So it seems the post has been sent to my facebook page, but nobody else but me can see it. Even though the post says it’s for everyone to see. What can I do?
Plugin post with your default privacy setting. Please set your default accordingly.
Wasn’t sure what you settings you ment by that, so I checked all the settings of the facebook app. Changed some http to https and made the app go online. Works fine now! Thanks
I’m clicking the first link without “publish actions” and it’s taking me right back to the add new account page.
If “right back” means nothing happens at all, you have a javacript broken on your site.
If “right back” means you see couple quick redirects and then end up on accounts page – it means authorization was successful, you are reedy to post.
After this, plugin is sharing posts like me in the page (me > page), no more as if it were the page itself /o\
Here: https://wordpress.org/support/topic/forced-to-post-as-visitor/page/3/#post-10180074
I still see the same error even when I click the new link “without publish actions”. Now what?
Facebook officially closed unrestricted access to its API: https://www.nextscripts.com/news/2018/05/facebook-officially-closed-unrestricted-access-to-its-api/
So then how do we get the wordpress plugin to connect to our facebook accounts?
Please check “Now What? / What’s next?” section from the link above.
Doesn’t matter which link I click…I get the same error message as shown below,
Invalid Scopes: manage_pages, publish_pages, user_managed_groups, user_posts, user_photos. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
Yeah this is def not working. I did the following to be sure…
– upgrade WP to latest
– deactivate and delete NEXT plug
– reinstall NEXT plug
– delete my app at Facebook
– completely recreate my app at Facebook
– attempt to authorize in NEXT and…same error message no matter which link I click
Gotta get this fixed or install a new plug today. Anyone know of another plug that posts to Facebook and Twitter?
Facebook officially closed unrestricted access to its API: https://www.nextscripts.com/news/2018/05/facebook-officially-closed-unrestricted-access-to-its-api/
it still doesnt work, any way around ?
After this, plugin is sharing posts like me in the page (me > page), no more as if it were the page itself /o\
The “re-authorize” “Solution” that you recommended does not work for me and several others, as you’ll see at the comments on wordpress support (you already postet it under the comment by Jefferson)
Facebook officially closed unrestricted access to its API: https://www.nextscripts.com/news/2018/05/facebook-officially-closed-unrestricted-access-to-its-api/
So ideally,free version of this plug-in will no longer work with facebook. Is this correct? Any plan to make it available in near future?
You are not correct. Free version of SNAP plug-in will work with Facebook the same way as it was working for the last 6 years. Nothing is going to change, we are not removing the free part. Premium API is not replacing free API.
I see that you don’t really understand what happened. We did not change anything. We also did not make the free API unavailable.
Since the beginning Facebook native API was unrestricted. Anyone with Facebook account can create a Facebook API App and immediately start using it for reading and writing of various Facebook content. Recently Facebook got hit with several data leaks and privacy issues. All those leaks happened through the API. So Facebook decided to take out “unrestricted” and “immediately” parts of the process. From now on they want you to explain to them why you need a Facebook API App and how exactly you are going to use it. If they accept your explanation and approve your app, you will be able to autopost.
Nothing has changed form SNAP point of view. Facebook native API works the same. You are more then welcome to submit your Facebook API App for review and once approved, it will be working exactly the same way as it used to be.
Since many people don’t really want all that “explanation” and “waiting several weeks for approval” hassle we made an alternative API. It’s not free, but you can start using it immediately and you don’t need to explain anything.
Hope it makes it more clear.
Hello,
I just today installed your app all the settings as you describe but when I click “authorise without…” I get this message. “Insecure Login Blocked: You can’t get an access token or log in to this app from an insecure page. Try re-loading the page as https://”
Trouble is that in a facebook app developers page I cannot turn of “Enforce HTTPS” as you describe in your manual, I think this is causing the error but I don’t know how to overcome it. thank you for your advices. good day
Facebook no longer allows non-https website. You must switch your site to https
It’s weird to read you message above about free version working as before.
As users we understand you did not change anything.
But actually the free version doesn’t work anymore.
To make it work it’s required to buy the yearly subscription to your API.
I think you should have to be more clear.
Sorry, but you are not correct.
Free version works exactly as it was working before. You don’t need to buy anything to make it work. The only thing that changed is that Facebook no longer allows the usage of its API without their approval. If you want to use free version, you must submit your app to Facebook for review and once they approve it, it will work. Please see the full and clear explanation here: “What happened to Facebook.”
The final, we can not use SNAP or any plugin for auto post from wordpress to Facebook page
You can. It’s just since May 1st 2018, you need an approval from Facebook for that.
I have the issue where everything seems to be setup perfectly, when I do a test post however it posts Testing …
SUCCESS
Facebook – Facebook Page.
Post link: http://www.facebook.com/543935242324634/posts/1902055629845915
Your post has been successfully sent to Facebook
But it is not posting directly to the page that is selected in the plugin, but instead to its notifications section of the facebook page. What am I missing?
You missed a five-page long thread about this. 🙂 This is a bug in Facebook API. Facebook already confirmed the issue and they are (hopefully) fixing it
Please see here for our answers and progress of this issue: https://wordpress.org/support/topic/forced-to-post-as-visitor/#post-10113428
“This means that they have officially closed an ability to publish to user profiles through the native Facebook API.” I also struggle to follow. Will this be deprecated for posting to Facebook user profiles or both Facebook user profiles and Facebook pages?
Its only about profiles, pages are fine.
From Facebook official notice:
I am stuggling with the same problem. My blog post is being published on my facebook profile but not on my facebook page. My Facebook app Id is very old. Please help me.
Please select your page from the “Where to post” dropdown list and click “Update settings”
how do I do that? Is that chosen only when creating the application? is that I have to delete my application and recreate another one with the permission Facebook’s Share dialogs for web, IOS and Android?
Hello,
I have tried without publish actions and it still doesn’t work. it shows the error you posted above no matter the option i use. Could you help please?
Please check the version of your app. As it says in the article “without publish actions” solution works ONLY for apps version 2.12. if you have app version 3.0 or later, it will not work. All API 3.0 Apps (created on or after May 1st, 2018) just show this error during the authorization. You need to submit your app for approval, or get premium API.
Every time you try to authorize it, it appears the following::
“Invalid Scopes: user_managed_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions“
I’m seeing that too. I guess SNAP is asking for that permission?
My app works fine at the moment (Facebook have emailed to say any active apps can have access to the manage_pages and publish_pages) while waiting for review. I just can’t get it added back to SNAP after I accidentally removed it…
Look at the message that displayed when i click the second option “URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.”
here: https://www.nextscripts.com/instructions/facebook-social-networks-auto-poster-setup-installation/october-2017-facebook-changes/
I was also faced the same error, but i managed to sort it out by making the facebook app status to “In development” from “Live” in “www.developers.facebook.com/apps”. Now, i am able to post content on facebook.
If I understand it right, your plugin is useless untill we buy PRO version? There is no way normal user would get app thorugh FB review ..
Invalid Scopes: manage_pages, publish_pages, user_posts, user_photos. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
You are not right.
1. A lot of “normal” users are already went through the FB app review. It’s not that complicated.
2. Plugin can post to 32 different networks. Facebook is just one of them.
So in this case, I can not use this service? is not there a solution for that? I need to uses Revive post plugin to https://axtuces.com
There are two solutions – you can either get an approval from Facebook or use our Premium API.
And how do we get that approval? I understand you’d rather have us buy your app, but still, a proper answer won’t hurt anyone.
The proper answer is published here: https://www.nextscripts.com/2018/07/facebook-app-review/