Not enough permissions to access field. How to access other profile fields from LinkedIn API? - rest

I am trying to get profile field sections like location, certificate, education, etc of the logged in user.
I am following the Oauth-flow. The permissions available for me are: r_basicprofile, w_member_social, r_organization_social, r_liteprofile. I am trying to use /v2/me endpoint but it says permission denied after using this in postman
GET https://api.linkedin.com/v2/me?fields=id,firstName,profilePicture,course,certificate.
Am I doing this wrong or are there no permissions for me to access it?
I read through the documentation, applied for other products like Share on LinkedIn, Community Management API in dashboard and got access to it but still it doesn't work
I tried using https://api.linkedin.com/v2/me?projection=(id,firstName,profilePicture,course,certificate) and it still returns default field projections.

Related

facebook leads retrieval issue using graph api

Getting the following error while retrieving leads through graph api using form id. The same end point works fine for other users, but its not working for one of the users of the app. Not sure why its happening. Is there anything related to account type on facebook?
(#10) This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages and https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS for details.
https://graph.facebook.com/v9.0/<form_id>/leads?access_token=<>&appsecret_proof=<>
After adding pages_read_engagement in the scope list and making the user reauthorize the app the said api call is working fine but my query is why did it work for others.
The user does not have any role. User is following oAuth to permit the app to access his facebook pages and ad data

How to add course completions to user profiles using API for users that have allowed sharing

Working on adding course completion information to users that have authorized our system to write to their profile. Looking at the LinkedIn API, https://learn.microsoft.com/en-us/linkedin/compliance/ it looks this is possible if granted the w_compliance authorization but it doesn't seem to be available in the application setup.
I have been trying to contact developer support email provided but have had no response in the last week. Is there a path or setting that I am not seeing?
How does one get an authentication grant that includes the ability to update user profile course information?

Linkedin API v2 r_basicprofile

Correct me if am wrong, but i assume the permissions listed under the Auth section of the app(i.e. linked-in developer app) are the ones that your app is capable of accessing provided the intended user grants it permission via 3-legged member permission
The problem I'm having is even after placing r_basicprofile in the scope and the user grants permission (i.e. access_token is aquired), when i make a GET request to https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams)) i get a response of status: 403. what do i need to do to have access to r_basicprofile PS with r_liteprofile it works fine but i need basic profile because of the fields i need to access like headline. i would grateful if the code example solutions are in C# but any other language is alright

Why does the Facebook Graph API show some permissions declined when they were all granted and the UI accurately reflects this?

I have authorized my app for several Facebook permissions using my own user account. If I look at the UI, I can see those permissions granted.
If I pull the permissions from the API, it shows many of these same permissions as declined for my user.
That's an API call through the Graph API Explorer using my app's token. I get the same results using cURL.
Some of these permissions require approval from FB, but they have all been approved.
It feels like I'm missing something here. Why does the API return different results than what is shown in the UI? I'm hoping to use the API to see which permissions a user has granted for my app and to ask for a new one if they haven't already granted it. If I can't get accurate results from the API, this won't work.
This happened because I had the wrong Facebook user ID. I used a web site to find my ID which gave me the wrong ID. I found my ID in my app's database, and this returned the correct results from the API.

Yammer search endpoint user access

I'm working on creating an application for a client that has to search Yammer for a term specified by a user. I'm using the Yammer JavaScript SDK to authenticate the user's login to acquire the access token which I then use to query the search REST API.
This is all working great, but I need to know about the user access rights using the SDK and REST API. Will the search endpoint restrict the search results to the groups and files that a user has access to? Or does the endpoint return everything that matches the search term regardless of the user's access to it?
Unfortunately I only have the one user account on the client's Yammer network to test with and can't really investigate the issue properly.
Any feedback will be appreciated!
It will return only what that user has access too
ie. If they can not see a hidden private group they would not be able to search for it
Try to think of the Javascript SDK emulating them logged into yammer.com