6

is it possible to make an 100% browser based javascript twitter client (no back end at all) using oAuth?

user202411
  • 202
  • 1
  • 2
  • 9

3 Answers3

3

I don't think so. You still need a secure way to get an access key from twitter and you may want to hide your consumer secret key.

Maksim Vi.
  • 9,107
  • 12
  • 59
  • 85
2

Yes, I suppose.

Related: JavaScript OAuth sign in with Twitter

Community
  • 1
  • 1
quantumSoup
  • 27,197
  • 9
  • 43
  • 57
  • See first link that was provided by quantumSoup - Unauthenticated access has been suspended. It is not possible to do a browser only solution unless you're comfortable storing authentication data publicly for everybody to see. – stricjux Mar 17 '14 at 13:47
0

Yes it is possible to implement a Secure 100% browser based javascript twitter client using oAuth.

You can do this by using YQL & YUI.

There is a open-source project called Tweetanium that shows how to implement that in JavaScript.

References:

Stxle
  • 89
  • 6