Fetch multiple twitter users timeline for no-authenticate account - twitter

Is there a way for no-authenticate user to managed his own list (in code) say I have a list of user screen name, is there any api that can I pass the list of users and return timeline for those users ? I have look into https://dev.twitter.com/docs/api/1/get/statuses/user_timeline but multiple user is not supported and in this post Combining multiple Twitter user timelines into one request they said about list and bot account, but from my understanding twitter limited 20 lists fro 1 account, so this seem not practical for > 20 users based app.

The list idea is just fine. You don't have to create new list to every user in your app. Add unique users you want to follow to non-full list (1 list can have up to 500 members) or create new list. Then poll all your lists few times an hour - then just sort out which screen_names to show to which your users.
I have managed to collect the statuses of ~55000 twitter users by using only 6 bot accounts.

Related

Connection between Users and People in Microsoft Graph API

Using the Microsoft Graph API I'm fetching a list of users using the following endpoint:
https://graph.microsoft.com/v1.0/users
After that, I want to check if a user is an actual person. For that, I'm planning to use People endpoint.
However, I can't find a method that will return all people in the organization. Users can also represent a room or a group and I want to be able to differentiate them. The only options that I could see are:
https://graph.microsoft.com/v1.0/me/people
https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}/people
But they only return people that are related to a user with the provided id.
Is there a solution for getting a corresponding Person object for every User in the organization?
The /people endpoint can only return a person object if there is a connection between the person and the user.
Consider what a person represents:
An aggregation of information about a person from across mail, contacts, and social networks. People can be local contacts, contacts from social networking or your organization's directory, and people from recent communications (such as email and Skype).
If the user and the person are not connected in some way, there aren't enough sources to aggregate for a response. More importantly, the sources for someone#someplace.com will be different between two user records (i.e. I'm connected with them on Skype and LinkedIn, you've only emailed them once a while back).
Also note that to pull a single person, you need to provide that person's id:
`/me/people/{id}`

Is it possible to cross reference FB taggable_friends and local user records under API v2?

I am using Koala in a Rails app to get a user's friends for a simple tagging interface.
Some time back, Facebook changed the API (v2.0) such that this end point now returns a hashed ID, rather than the friend's FB ID. I've just started working with this endpoint for the first time since the change and am wondering, is it still possible to correlate an FB taggable_friends with a user of my app.
For example, within my app a user creates an event she attended, and now wants to tag friends she was with. The taggable_friends API allows taggings to be pushed to FB, but how do I also represent that tagging within my app?
The taggable_friends endpoint returns basic details such as name and avatar, so I could just store and display those. But if the friend is also a user of my app, and perhaps has a different avatar here, I'd like to display the details they have set in the app rather than FB details.
Is there any way to cross reference taggable_friends with local user records under the new API?
The tagging token is not valid forever, so you cannot cross-reference users. It would only be possible by name, but that is not reliable since users can change their name or two users can have the exact same one.
In other words: No, it is not possible.

How can I get the count of other users mentioned in tweets by a particular user using Twitter API 1.1

I am looking to get the count of how many users were mentioned by a particular user in its tweets for a specific period of time.
I am looking to achieve it in Twitter API 1.1
For example, an arbitrary user #user1 mentioned 20 users in his tweets since last 10 days.

Twitter API - Getting friends and follower ids for a set of users?

I am able to extract tweets, and the submitter's user details using the streaming API, but I also need the list of followers and friends of users posting these tweets.
I am aware that Twitter search API has the friends/ids and followers/ids functions through which one can get the public followers and friends list one user at a time.
But, my data collection requires getting this information for all the users whose tweets I have collected, around 20,000+ users. This is quite exhaustive given the high number of users, and the limitation of one user per call. Moreover, I need to refresh this list for each of these 20,000+ users preferably once a day to observe changes in their friends and followers (if any).
IS there any I can achieve this using the Twitter Streaming API or any other method. Or I have to apply for the Twitter commercial data license?
Thanks!!!
20,000 is way beyond the limits of any normal Twitter API method. I think your going to have to apply for a commercial license to go that high. The streaming API, I believe, tracks 400 keywords and 5000 users max. Your right in that the REST twitter API method only allows you to track one user or a list of ID's. You can take a look at the Twitter Counter API which mines additional info including information about followers, etc. But again, 20,000 I'm sure would be above the limits. Communicate with Twitter, Gnip and, and the Twitter Counter service to see what they can do for you.
Twitter Counter API:
http://twittercounter.com/pages/api?ref=footer

get Twitter friends/followers' ids and nicknames

I am integrating Twitter into my mobile app. I am trying to get the friends or follower's ids and nicknames. One solution that I can find out is, using "friends/ids" to get the friends/followers ids, then "user/show" to get the user info.
However, "user/show" returns extended information of the user, if a user has a lot of friends/follower (say 1000), it will be very slow to get nick name of the user.
I wonder if there is any API that only returns ids and nicknames of friends or followers. Or there is other lightweight approach to resolve this issue.
There is no Twitter API call that just returns the screen names. You can use /friends/ids to get the user ids of 5,000 friends with each API call, and then use users/lookup to get the account info on 100 of these at a time. But you are limited to only 350 API calls per hour.
If you are building an app that is based on knowing all of the friends or followers of your users, you need to plan the way you present that. You cannot do what Twitter does, and expect to let someone login and then instantly display all their friends and followers. One way to deal with this is to ask for 24 hours to assemble their complete social network. The other technique is store every user's full profile into a database, so you don't have to look them up again.

Resources