Pure javascript client-side retrieval of Friends and Followers of a Twitter user



We are building a web application where one of the requirements is to retrieve the list of Twitter friends and followers (for invitation app specific purposes). Our question is :

  • Is it possible to retrieve the list of friends and followers of a user using only client side Javascript ? Can the whole authentication process (oAuth) used by Twitter be accomplished with pure client side Javascript code ?

After looking through the twitter documentation for oAuth, it seems vague in many of its steps. We found this thread that may be related to our case , https://dev.twitter.com/discussions/10940, and it concludes that we need to have a server side component to achieve our goal.

Please advise,