Hmm that is a good suggestion. I'll try to do this (store only ids,
because users can change their usernames on twitter)

Maybe someone tried to do the same widget already? I mean "Find your
Twitter friends on *anysite*.com"?


Thanks so much Nicholas!

Igor!


On Apr 13, 3:31 am, Nicholas Chase <[email protected]> wrote:
> I would store the Twitter username and id for all of your users.  Then
> you should be able to correlate them from within your own system rather
> than constantly doing lookups.
>
> ----  Nick
>
> On 4/12/2011 7:20 PM, Ig0r wrote:
>
>
>
>
>
>
>
> > Anyone have any thoughts on this?
> > Please guys...
>
> > Thanks once again!
>
> > On Apr 10, 5:33 pm, Ig0r<[email protected]>  wrote:
> >> Hello I'm coding one website which need a "Find your Twitter friends
> >> here" functionality.
> >> What is the best way to do it?
>
> >> At first I've decided to get user friends list. Then get 'name' of
> >> friends. And check that field in my website database. If names are the
> >> same - It's a possible users friend.
>
> >> There are 2 major problems with this approach:
> >> 1) not all users fill their correct names and surnames in twitter and
> >> other websites + If users name is too common - we will grab too many
> >> false results.
> >> 2) I can't get all of users friends:
> >> First I recursively get friends/ids 5000 ids at once.
> >> after that I make a call to users/lookup - 100 ids at once.
> >> My servers fail somewhere at users/lookup iterations. And I'm testing
> >> on user with ~5000 friends.
>
> >> Is there any way to get user friends bulk information? Or maybe check
> >> from a list of users who already use my twitter app? Is that possible?
>
> >> Thank you very much!

-- 
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

Reply via email to