[twitter-dev] Re: collecting followers and friends
Run this in the background - don't do it on page load if you can avoid it. Also, if you are using PHP to compare the lists don't use array_diff as this is very slow on large arrays. On Mar 5, 8:14 am, amit debnath amitdebnath...@gmail.com wrote: I have a site for twitter based tools. One of the options was to enable users see the people their non-friend-followers and non-follower-friends. The only way I could see to achieve this is to gather and store the complete list of followers and friends locally and calculate from that. This is done at the time of login(oAuth) . For small accounts it is working ok. But for large accounts (one of the accounts for testing with has a total number of followers+friends 3) it is taking from 20 seconds to anything up to 2 minutes(at 5000 per call, this is taking 6 calls). Looking for any suggestions to improve the performance -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: users/lookup.json
This method requires authentication, so you will need to sign the request with oauth tokens before it will work. On Mar 5, 4:04 am, Naresh naresh.jonn...@gmail.com wrote: hi! i am very new to twitter API. my question is:http://api.twitter.com/1/users/lookup.json?user_id=1401881,1401882 this is example url of twitter, it never works. and it returns { * request: /1/users/lookup.json?user_id=1401881,1401882 * error: Could not authenticate you. } could you tell me, how to get friends info, like name, thum,...etc thanx - naresh jonnala. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Search API: Searching world twits (location enabled)
You could use the streaming api and throw away tweets that have no location data/show them as having a default location. Whether or not this is a viable option for you depends on how often the keyword is tweeted and whether you need to index absolutely all tweets for the keyword... On Mar 4, 11:02 am, mahorad maho...@gmail.com wrote: Does any body know how is it possible to: search a keyword among all twits in the whole world, while each returned twit contains the location it was generated? I know that twits can be searched within an area passing lat,lon and radius but I want to search the keyword within the twits in the whole world. Any help will be truly appreciated. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: Whitelisting is still in the docs. Please remove this.
Jan, yes twitter have said they're removing whitelisting for new requests, see here : http://groups.google.com/group/twitter-development-talk/browse_thread/thread/1acd954f8a04fa84 On Feb 12, 5:37 pm, Jan Paricka jpari...@gmail.com wrote: Whoa, does that mean twitter is no longer whitelisting?? Guys, I spent nearly two years working on the app - it's nearly ready, whitelisting is essential to us. Please advice, Jan On Sat, Feb 12, 2011 at 5:29 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Sorry Adam, missed this document among the many -- it's fixed now. The form itself and its text are immutable at the moment. On Sat, Feb 12, 2011 at 5:26 AM, Adam Green 140...@gmail.com wrote: http://dev.twitter.com/pages/rate-limiting#whitelisting Ryan, Taylor, Matt, I know changing mistakes in the docs has been impossible in the past. My guess is that someone lost the password for these pages. But leaving the whitelisting statement in the docs and the whitelisting form online is a sign of complete disrespect for your developers. New devs will see this and still think they can get whitelisting. Even worse they will waste their time building apps that need whitelisting, since the request form says: Whitelisting is only available to developers and to applications in production How would you feel if you started building an app today, spent months on it, got it into production, and then waited months for approval, since the docs say you won't get a response until approval is done? Not removing this shows that developers don't really matter to Twitter. Removing it right away shows that they do. Please don't say that you are too busy to make that change, and that it will be done some time in the future. Nobody is that busy. Please remove it. Thanks. -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk