linkedin api v2: "Not enough permissions to access" for /people - api

My question is similar for Linkedin v2 api: Not enough permissions to access: GET /countriesV2, LinkedIn V2 api: Not enough permissions to access /me GET, Not enough permissions to access /me GET and others, but works with /v2/organizations/ endpoint (that's why I think the app is already applied for api: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program).
That's not my app - my client's one.
My task is getting members' info, but any calls to /v2/people/ endpoint fall.
The r_basicprofile permission is set and I no need for extra profile fields.
Now I see a couple of problems with linkedin REST API:
most of examples are for v1
v1 doesn't work at all
links to the linkedin site (like https://developer.linkedin.com/comment/NNNNN#comment-NNNNN%23comment-NNNNN) mostly don't work (about 95-99%)
I can't even call samples from developer.linkedin.com
I asked about this on linkedin help forum. I don't understand is this api works or not?
Does anyone have a successful experience with /v2/people/ endpoint?

if you really want to use V2 apply to the partnership that is required.
but because you need only basic profile info try this :
https://api.linkedin.com/v1/people/~:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url)?format=json
this will return the information of the person who is loggedin.
if you want information of another person try this:
https://api.linkedin.com/v1/people/[user_id]:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url)?format=json
hopefully this works for you.

Related

How to get twitter accessToken from java?

I'm creating a web application which needs some details of the user's twitter account. How can I get the twitter accessToken and access the twitter API. When I was searching this, I found that I had to create my application in twitter developers site Which I dont want at all. I've created my simple web application in java, in which i need to use twitter API. Is that possible??? Please help me out.
Generally speaking, Stack Overflow / Stack Exchange work best when you have a specific code question that we can clarify for you. This question is very broad so it is less simple to provide you with a direct solution.
In order to access the details of a user's Twitter account, you need to use the Twitter API. Twitter uses OAuth for authentication, so you'll need to code the login flow to get a user accessToken. You also need to register an app with Twitter on apps.twitter.com in order to get a consumerKey and consumerSecret to uniquely identify your app.
Since you're using Java, you might find Twitter4J a useful library for helping you with this. It comes with some pretty good samples that should help you to understand what you'll need to build.

Linkedin API for full profile access

I want to access the full LinkedIn profile information using the API, but I have only managed to access the basic profile and e-mail address with the API-key and Secret Key.
Am I missing something or is it more restricted in some manner?
How did you get the LinkedIn API ?
Did you applied for partnership because as far as I know LinkedIn changed the policy of API , so the API will be available only through the partnership and for that you've to pay different fee based on partner program
Have a look here, the same thins we've too.
I've fulfilled the application 3 weeks ago but no response yet.
***Subject: Having acces on LinkedIn API [160721-001958]****
I had spoken with one of our experts on this and he had confirmed for me that you can still go through other workarounds for this.
Go to https://developer.linkedin.com/partner-programs
Click on either of the options based on your need. You will be directed to another page where if you scroll down you will find the button for Apply to become a LinkedIn Solutions Partner. Click on that.
You will be directed to a page that says Apply to become a LinkedIn Partner and you can fill up the form from there for access.

Calling Yahoo API through OAuth

Spending my whole day on yahoo docs and here and there finally I am asking it here having failed in all attempts.I am implementing login with yahoo on my site using yahoo oauth. After a user login I need to get his profile.
I have successfully retrieved access token and completed the authorization flow as mentioned here:-
Yahoo OAuth authorization flow
After having the access token I need to retrieve the user profile by just making a simple Yahoo API call as mentioned here
But I not able to the same. Sometimes it gives me token rejected sometimes signature invalid,timestamp rejected e.t.c. I have seen similar type of question on Yahoo Forums but there are no replies to that people(I wonder what they did).
I would be really thankful if someone can describe this step completely, very clearly(signatures,methods,timestamp e.t.c) as it will be useful for users having similar problems. I am using JAVA language.
Thanking you in advance.

Google+ API: Can I get friends' private information?

I'm testing Google+ API v1.
I kepp fail to get my friends' personal information with the APIs with the authorization in the sandbox at the reference page.
I found the APIs in the documentation page, https://developers.google.com/+/api/latest/people/get,
and I understood that I can get my friends' personal information if these are open to me.
Is it google's policy that I can only retrive public data regardless of the circular relation between me and my friend, or do I need any other authorization more than plus.login and plus.me.
Please help me, if you are familiar with Google+ APIs.
Thanks.
The current API only allows you to get public information about any user. Even if they have permitted the data to you, if it is not available to everyone, it won't be available in the API.

Adwords API developer Token

Can I use Adwords API developer token for multiple applications? In more detail, say if I have a website where I am using adwords API developer token, Can I use the same token for another application. Ofcourse both applications accessing the same account after all.
Thanks,
Murali.
You can use the AdWords API across different applications with just one API token, just make sure though that you are caching the authentication response and re-using those tokens otherwise you'll hit the throttle limit. (Incidentally, logging in is possibly the slowest part of their API, so caching the response will speed up your application considerably)
No doubt you can use same development token for your multiple applications which are accessing same account. If your applications will access different account then it needs to get different developer token.
For the reference, you can read http://goo.gl/zLBPF
Hope it will help you.
Murali,
You need just one developer token, whether your application(s) access same account or different accounts (whether linked under the same MCC hierarchy or not). As a matter of fact, AdWords API Terms and Conditions explicitly prohibits you from getting more than one developer token.
If you use a developer token to make calls, you will be charged for API cost to the account holding the developer token. This is another reason why you should treat your developer token as a password and should reset it immediately if you expose it to the public by say, posting it publicly on a forum.
I also wish to point out that the official AdWords API forum is http://groups.google.com/group/adwords-api, you can ask your questions there and someone will answer your questions in a day or two.
Cheers,
Anash
Yes, Adwords even has channels that you can create to separate your ad campaigns
Adword Docs - Campaigns