I have a platform where people can see their linkedin contacts.
I retrieve those users using the Linkedin API. I would like to give the opportunity to my user to delete some specific Linkedin contact.
Is there any way to remove a user using the Linkedin API ?
There is no API call available that will allow you to remove a LinkedIn contact.
Related
I have an application that allows Google+ sign-in for users. I would like to get the user's gmail contacts. Can I use the same access token to get gmail contacts as well?
My confusion is around gmail contacts vs Google+ contacts. Are these two different things?
Yes they are different. Contacts are people who have sent emails to or added to contacts in Gmail and can be accessed through this API. Google+ contacts are people/pages you follow/friend on Google+ and can be access using this API. There will generally be some overlap between the two though.
So far as I know, we can use Twitter API to update user information such as name, location, etc.
Can I use Instagram API to update Instagram user information just like Twitter API?
Instagram's API does not allow you to update User information. You can modify relationships between users (follow, unfollow, block, etc), but that is it.
http://instagram.com/developer/endpoints/users/
I am trying to create a site where you can login with Google+, but I am having some problems understanding the Google+ API.
Can anyone explain to me how to fetch information, such as e-mail, name, id, etc. or give me a good link for a site where I can find some documentation about this.
Before you suggest me to this site I have already read it but not finding out how to fetch info.
Google+ Sign-In provides users the ability to authorize your application to retrieve data from the Google APIs based on the scopes that you set for your button. When a user authorizes your app, the sign-in callback returns you an OAuth 2.0 access token. This token gives you the ability to queries any of the APIs that your scope granted access to, this is not limited to Google+ APIs. You pass your access tokens to the API when you make requests.
Basically, you read the prereqs and didn't continue reading the API docs for the lower level details specific to the API that you are interested in. In this case, it sounds like you want to retrieve a person's profile (A "Person resource") by using the people.get method. At the bottom of that page are code examples for a variety of languages.
https://dev.twitter.com/docs/faq#6718
If twitter doesn't provide any API, then how does foursquare retrieve them?
Foursquare has provision to list out the user's foursquare-friends who have registered with twitter.
It also provides API which shows friends of users who commonly appear in 'foursquare friend's list' as well as 'twitter followers list' of the user.
In both the above cases comparison can be made only through email.
Please help.
There's no way for you to get an e-mail from Twitter. Except, of course, by asking the person to give it.
What FourSquare does need no access to the e-mail. Matching is based on the Twitter name, not on the e-mail.
In the comments you say
My friend has registered in both Twitter and Foursquare. The only field common in her profile is the email id. No other fields match. She comes in the 2nd list which i have mentioned above.
but then you admit
After she has registered with FourSquare, went to her profile, clicked on friends -> Add Friends -> opted Twitter. She was asked to login to Twitter and thus she did it
This means that now FourSquare have access to her Twitter as well as your. Foursquare knows her Twitter id and your twitter id and can access Twitter (using Twitter API) to see who is following is following who. In other words when you say
The only field common in her profile is the email id. No other fields match.
You are wrong. Once she connected her FourSquare profile with her Twitter, all data that is accessible via Twitter API is in fact (at least potentially) part of her Foursquare profile.
But she needed to explicitly connect the two profiles (which she did when she opted to add friends to her Foursquare profile using Twitter).
Does anybody know where to get links to list of all available fields from twitter api and gmail api (user profile) as it is in facebook or linkedin http://developers.facebook.com/docs/reference/api/user/ https://developer.linkedin.com/documents/profile-fields
In twitter and gmail api documentation I can see just some examples of source code
Thanks in advance
Twitter REST API : https://dev.twitter.com/docs/api
Use the console : https://dev.twitter.com/console
Check under the user/account headings. There's no specific reference for only "users".
As for google, you may want to browse through. http://code.google.com/googleapps/docs/