I have a website that displays the number of Twitter followers, Facebook fans, and LinkedIn connections on each individual account of mine. My problem is with Google+ – I can't seem to find in their API how I can retrieve this information. I want to retrieve/display the number of people who have me on their circles. Is there a way to do this?
Currently the only way to show the number of followers you have on Google+ is to use the badge: https://developers.google.com/+/web/badge/
The API currently only lets you call people.list() to show the number of people you are following.
Related
As titled, I try to crawl more accounts that might be important for me to follow.
Currently, I can only find an API getting all followers of a certain account.
So I have to compare these followers with all accounts I am following in order to meet my requirement?
Hope there would be a better solution.
I will like to know if its possible to retrieve a list of the most followed users (say top 20 users) on twitter through twitter's api. I cant see how to achieve that through any of the endpoints. How do web apps like this https://socialblade.com/twitter/ get that kind of data?
Any insights on this will be helpful.
There is no API for this. You would need to take an opinionated view of the high-volume celebrity accounts, and then watch the accounts by polling the user endpoints regularly. You could also use the commercial streaming APIs to watch the most Tweeted accounts and check the user objects on a regular basis.
(note that this is the same answer you were provided on the Twitter developer forums)
Using "https://www.googleapis.com/auth/plus.login" api, we are getting the access to a list of people in the user's circles in addition to their name and profile information. After api deprecation, we using people.connections.list api "https://people.googleapis.com/v1/people/me/connections" as per documentation but we get list contacts only, not friends list in google+. please help us to retrieve the friends list in google-plus. Thank you
This is probably only telling you what you already know or have guessed.
From the deprecated People API page: "... calls to the API return empty circle data for those new sign-ins." and "In place of the social connection data from the Google+ People API, you can get rich contacts data from the new Google People API."
It seems that there will no longer be a public API for getting a Google+ friends list. Consider supporting an alternate social media platform for your app or utilizing Google Contacts.
It sounds like the People API will actually be more powerful than the G+ people.list method. The G+ API only listed people that the user had circled--that isn't the same as being a friend or close contact. The people API likely better reflects closer connections between individuals as well as exposing a broad number of contacts to apps. I think for most apps, this is an improvement.
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).
I am trying to get just the top rectangle (https://twitter.com/cnnbrk see this page to see what I am talking about) from twitter accounts using the twitter api and placing them on my site. I want users to be able to press follow to follow the user as well. Anyone know a way to do this? Thanks!
That's quite easy. Retrieve the user with the corresponding Twitter API endpoint, i.e. GET users/show (https://dev.twitter.com/docs/api/1/get/users/show). Then, do your own rectangle to display the information provided by Twitter.