[twitter-dev] Re: Design of Invite Twitter friends

2009-07-12 Thread chachra

Thanks everyone for the informative replies. Solves my problem I
think!

On Jul 9, 7:35 pm, whoiskb whoi...@gmail.com wrote:
 I had a similar question last night and found this thread that offered
 some insight into the most efficient way to do something like this.
 Here is the thread that discusses the best approach to get details on
 all of the friends or followers of a user:

 http://groups.google.com/group/twitter-development-talk/browse_thread...

 On Jul 9, 12:20 pm, chachra sumit.chac...@gmail.com wrote:



  Hi,

  I'm trying to design a invite twitter friends feature (similar to
  the invite facebook friends concept).

  Sadly its not drop some code, like Facebook is... I'll have to develop
  from scratch. Wondering whats the most scalable way of doing this?
  Details:

  #1 By friends of course means followers since I can direct message
  them
  #2 The graph API call returns ID's, I would have to make $n api calls
  to get details on each of the $n id's right? Getting the users name,
  picture etc. ?
  #3 Then when the user selects users to invite, and presses submit
  then I'll have to make $m direct message calls ($m  $n)?

  Sounds like a lot of API calls to achieve something really simple.
  anyone have ways of doing this nicely? I would love to eliminate calls
  in #2 if possible.

  Cheers!
  Sumit


[twitter-dev] Re: Design of Invite Twitter friends

2009-07-09 Thread Xavier Mathews

Just curious to know. Because of number three this would only work for
users who have there stream set to private?

On 07/09/2009, chachra sumit.chac...@gmail.com wrote:

 Hi,

 I'm trying to design a invite twitter friends feature (similar to
 the invite facebook friends concept).

 Sadly its not drop some code, like Facebook is... I'll have to develop
 from scratch. Wondering whats the most scalable way of doing this?
 Details:

 #1 By friends of course means followers since I can direct message
 them
 #2 The graph API call returns ID's, I would have to make $n api calls
 to get details on each of the $n id's right? Getting the users name,
 picture etc. ?
 #3 Then when the user selects users to invite, and presses submit
 then I'll have to make $m direct message calls ($m  $n)?

 Sounds like a lot of API calls to achieve something really simple.
 anyone have ways of doing this nicely? I would love to eliminate calls
 in #2 if possible.

 Cheers!
 Sumit



-- 
Sent From Sony Slim-Line PSP

Xavier A. Mathews
Web-Developer


[twitter-dev] Re: Design of Invite Twitter friends

2009-07-09 Thread whoiskb

I had a similar question last night and found this thread that offered
some insight into the most efficient way to do something like this.
Here is the thread that discusses the best approach to get details on
all of the friends or followers of a user:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/8e255670186b52b3/54602c14899f42ff?lnk=gstq=list+friends#

On Jul 9, 12:20 pm, chachra sumit.chac...@gmail.com wrote:
 Hi,

 I'm trying to design a invite twitter friends feature (similar to
 the invite facebook friends concept).

 Sadly its not drop some code, like Facebook is... I'll have to develop
 from scratch. Wondering whats the most scalable way of doing this?
 Details:

 #1 By friends of course means followers since I can direct message
 them
 #2 The graph API call returns ID's, I would have to make $n api calls
 to get details on each of the $n id's right? Getting the users name,
 picture etc. ?
 #3 Then when the user selects users to invite, and presses submit
 then I'll have to make $m direct message calls ($m  $n)?

 Sounds like a lot of API calls to achieve something really simple.
 anyone have ways of doing this nicely? I would love to eliminate calls
 in #2 if possible.

 Cheers!
 Sumit