[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] Messaging users who have authorized my app via oauth

2009-06-12 Thread chachra

Hi,

Are any special api calls available to an app that has been authorized
(a connection has been made by the user) via oauth?

Am wondering on the lines of a Facebook notification. How do I
notify (one way is via an @user public message) securely/privately to
that user?

To send a direct message that user would have to follow me/my account?

Cheers!
Sumit