Invalid Scopes: publish_actions, manage_pages, publish_pages, user_managed_groups, user_posts, user_photos - wordpress

I got this error when I try to connect my wordpress site with Facebook API using SNAP auto Poster plugin.
Invalid Scopes: publish_actions, 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
I already read this article in stackoverflow. And read this article in facebook about login permission. But still not find a clue on how to solve this.
I've also tried to remove the scopes one by one, but still facebook gives that error message.

The publish_actions permission has been removed. Apps that have already been approved for publish_actions can continue using the permission until August 1st, 2018. If you want to provide a way for your app users to share content to Facebook and Instagram beyond this date, we encourage you to use our Sharing products instead.
https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#4-24-2018

Related

Getting access to r_basicprofile when I already have permission on LinkedIn api v2

After numerous exchanges with LinkedIn "Experts" none of them was able to help and do anything but copy paste the FAQ.
I'm preparing a client's platform for the v2 migration and encountered major problems for getting user data.
I currently have access to many fields including the r_basicprofile as can be seen in my app's auth tab:
However upon requesting the endpoint
/me I get the following error:
Not enough permissions to access: GET /me
I have also searched the new API documentation and there is no mention on how to request access to the r_basicprofile same on the FAQ the only link I could find was this one:
https://developer.linkedin.com/partner-programs
However it doesn't specify which one gives access to r_basicprofile
Our app is aimed at professionals and we require access to more info than just first, last name and email. Currently we work with positions, headlines and more.
How can I get access to the r_basicprofile and specifically the following fields:
'headline','summary','positions','specialties','location','industry','current-share','num-connections','num-connections-capped',

How can I change a LinkedIn app's permissions?

I have a LinkedIn app which can access the LinkedIn v2 API (tested with v2 endpoints), having the following privileges (scopes) according to the LinkedIn Developer Portal:
r_ad_campaigns
r_basicprofile
rw_organization.
The application is already enrolled in the Marketing Partner Program as far as my knowledge goes.
Regarding the above, I would like to have two questions/requests in which I would like to ask for your help.
I would like to modify the app permissions (scopes) to be the following:
r_liteprofile
r_emailaddress
r_member_social
w_member_social
rw_organization_admin
w_organization_social
r_organization_social
r_organization_lookup
rw_ads
r_ads_reporting
Currently there is no way to do so via the developer platform, and the LinkedIn support sent me here, so my question is: how can I get the app's privileges changed?
Interestingly enough, with the current set of privileges I was able to get an auth token for a given user for the r_emailaddress scope, but when I tried to call either https://api.linkedin.com/v2/clientAwareMemberHandles?q=members&projection=(elements*(primary,type,handle~)) or https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~)) I have received 403 Forbidden response, presumably due to the missing permission in question 1. Even if so, the token shouldn't have been issued in this case if I am not mistaken.
Could you please confirm if this is expected, or if something else is in play here?
I'm pretty certain it's that you must apply to the Marketing Partner Program.
I'm having the same issue as well, and I just applied to the program. Currently awaiting approval, but will confirm/edit answer once I get confirmation.
LinkedIn has made a lot of changed to their API over the past few months. Check out the latest permission changes relevant to this post:
https://learn.microsoft.com/en-us/linkedin/shared/references/migrations/marketing-permissions-migration
EDIT: Confirmed. I didn't receive a notification that I was approved, however, it's 30 days later after applying and I just noticed there was a new product available under "Products" once you are logged in and on your App in the developer portal. You have to add the "Marketing Developer Platform" product, and once again fill out an application:
After completing, they say they will provide you with confirmation within 90 days.

Next Scripts Social Networks Auto Poster facebook

I would like to install Next Scripts: Social Networks Auto Poster, using wordpress and facebook. I did everything as described here
http://www.nextscripts.com/instructions/facebook-social-networks-auto-poster-setup-installation/
I am doing this for community in facebook. Everything was okey, but when I click "Authorize Your Facebook Account <=== Авторизировать ваш аккаунт ===",
I get this error:
Invalid Scopes: user_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 authorized by a single login everywhere in facebook. The above link did not help me too.
Maybe somebody knows how to fix it?
user_groups got removed with v2.4 of the Graph API, you can´t use it in new Apps anymore. The replacement would be user_managed_groups. you may need to talk to the script creators about that, they have to change the permission.
Btw, "autoposting" scripts are usually not allowed, be careful with those and don´t spam.

LinkedIn API feeds

I'm looking into an issue where a clients LinkedIn feeds on their website have stopped showing. Debugging the problem I've found that I get a 403 error shown below:
Member xxxxxx does not have permission to get company xxxxx
As the LinkedIn authentication process can be quite difficult to comprehend, I had a look online to see if others have had the same problem, and managed to find this. It suggests there have been recent changes to the LinkedIn API and users are now required to be the administrator of the company. What exactly does this mean?
From the very beginning we have simply been accessed the feeds by generating a url like this:
https://api.linkedin.com/v1/companies/xxxx/updates?oauth2_access_token=ACCESS_TOKEN
This has worked in the past. Do we need to regenerate the Secret and API keys?
Update
Looking at the announced changes here:
https://developer.linkedin.com/support/developer-program-transition
It suggests that the following endpoint will still work (which is exactly what I have):
/v1/companies/{id}
So I'm not sure what I'm missing.
is the access token generated by a account witch is Admin of that company page?
If not hen you will get 403.
The requester needs to be admin of that comapny page in order to get company updates.

We need rw_nus and r_network scope permissions again, is it even possible

Our site is using rw_nus and r_network permissions from Linkedin to work properly. We were fetching feeds from Linkedin and were able to post comments and likes. But now we are getting following error:
error=invalid_scope&error_description=Your+application+has+not+been+authorized+for+the+scope+%22r_fullprofile%22r_network%22rw_nus
We found the following link that says:
Linkedin deprecating rw_nus from API
Is it now even possible to get these permissions once again or its over now? If yes, then how to get approval for them?
Deprecation of rw_nus permission:
The rw_nus member permission will be deprecated as of May 12, 2015 Linkedin API changes. Going forward, if your application shares content on behalf of a LinkedIn member, your application will require the w_share member permission to be granted.
The new w_share permission will grant you the permission to share content on LinkedIn as you could previously, however you will no longer be able to read shared content from a user's LinkedIn feed using the API.
So, if you were using the following link to request an Authorization code
https://www.linkedin.com/uas/oauth2/authorization?scope=rw_nus
Now, you’ll have to ue –
https://www.linkedin.com/uas/oauth2/authorization?scope=w_share
How to fix invalid scope authorization error:
To correct this issue, ensure that the scope parameter in your authorization workflow is no longer requesting any of the following member permissions:
r_fullprofile, r_network, r_contactinfo, rw_nus, rw_groups, w_messages
For access to these permissions, you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to the required endpoints.
So apply for partner status with LinkedIn, explaining what your integration is and how it works. If it meets the criteria of "we feel that they’re providing value to members, developers and LinkedIn," then one or more endpoints will remain open for that app, and ONLY that app.
For further details, check this link.

Resources