Can anybody help me to find out LinkedIn V2 Version public API Endpoints with respect to the scope what are the scope for it.
Which are the correct URL's to do OAuth 2.0 Authentication Process .
https://www.linkedin.com/oauth/v2/authorization
https://www.linkedin.com/oauth/v2/accessToken
OR
https://www.linkedin.com/uas/oauth2/authorization
https://www.linkedin.com/uas/oauth2/accessToken
For authorization :
https://www.linkedin.com/oauth/v2/authorization
For access token :
https://www.linkedin.com/oauth/v2/accessToken
Related
i've succesfully integrated Twitter Auth via my iOS app and firebase, as explained here: https://firebase.google.com/docs/auth/ios/twitter-login
I'm able to get an oauth access token + secret from the user that authorizes the connection via app.
My intention was to use the oauth access token to make requests via the node-twitter-api-v2 library, for example - fetching the user's bookmarks.
I tried using the access token in place of the "bearer token" when initializing the TwitterApi client, but am still getting the error:
Authenticating with OAuth 2.0 Application-Only is forbidden for this endpoint. Supported authentication types are [OAuth 1.0a User Context, OAuth 2.0 User Context].
From my understanding, such requests must be made via a "logged in" client and the v2 api - question is, is there a way to use the already authed user's (via app) token to make the request / log in? This is done via background + backend, so the idea is that there is no UI / callback to make the user go through to create the logged in session.
Any ideas on how to approach this or if it's even possible?
Example code:
//call the new v2 api
const bookmarkedTweets = await this.twitterClient.v2.bookmarks({
max_results: max_fetch_limit,
expansions: ['attachments.media_keys'],
'media.fields': ['preview_image_url', 'url', 'variants'],
'tweet.fields': ['created_at', 'entities', 'attachments', 'author_id', 'conversation_id', 'id', 'text'],
});
Error response:
data: {
> title: 'Unsupported Authentication',
> detail: 'Authenticating with OAuth 2.0 Application-Only is forbidden for this endpoint. Supported authentication types are [OAuth 1.0a User Context, OAuth 2.0 User Context].',
> type: 'https://api.twitter.com/2/problems/unsupported-authentication',
> status: 403
> }
From what i read in twitter docs, once we get the token form user, all we need to do is just call the endpoints with the token as the Bearer, but this does not seem to work (maybe i read instructions wrong).
**
* Create a new TwitterApi object with OAuth 2.0 Bearer authentication.
*/
constructor(bearerToken: string, settings?: Partial<IClientSettings>);
Any help would be greatly appreciated. Thank you
I have signed up to the free HERE account, with billing information.
The search function works fine, and returns expected results, however the calculateroute function throws up "These credentials do not authorize access" as 403.
I have registered a new map, and added to a project linked to the Route API, however I still cannot get it to work.
Any ideas anyone?
It seems V7 is oboslete. Using v8 has solved my issues.
What is the HTTP Status Codes returned ?
401
403
If 403 response, maybe calculateroute function is not available for free accounts ? (Your message "These credentials do not authorize access" may means that...)
You will find here list of status codes form here api: Routing API HTTP status code
I am using Auth0 Linkedin connector for signing in into my site.
How do i get the Linkedin public profile URL of the user?
It used to be part of the Linkedin r_basicprofile permissions
Unfortunately LinkedIn locked it down.
Hello I am Working with Web Services with PHP.
I need the linkedin Public profile url in json format but i does not required login credentials, for that can we use linkedin Screen name of User!
Is this Possible to get the linkedin Public Profile withour authontication??????
Thanks and answers the Question Please
not allowed. OAuth requires you to login first and you can then access only your details.
As stated in the LinkedIn APIs Terms of Use, it is not allowed to use the API data without personal authentication. See section 3.A.g.
I am new to this feature of linkedin.How we can post the status on the company profile using the api provided by linkedin?
You could use the LinkedIn's Company Share API http://developer.linkedin.com/creating-company-shares
You should use some library that handle the OAuth 2.0 authentication-authorization or take a look at http://developer.linkedin.com/documents/code-samples (if are able to understand code).
The process authorization process is simple - it redirects the user (your company profile) to LinkedIn Signin page where he authorize your application and give you Access Token.
http://developer.linkedin.com/documents/authentication
Your Application with help of the Access Token could Share on company's page (linkedin profile)
The LinkedIn documentation contains a lot of information regarding OAuth 2.0 and Share details
Update: have found the usefull link. http://marketing.linkedin.com/company-pages/?scr=s-bl