V1.1 /users/lookup from jQuery


#1

OMG this got complicated! I had some working code that was able to retrieve information about a Twitter user using ‘/users/lookup’ in the V1 API. I’m trying to get it working with the V1.1 API. Can someone point me to a similar example that does everything from client-side JavaScript? Is this no longer possible?


#2

It’s no longer possible, requests need to be made server-side as OAuth authentication is required for all calls.


#3

Hello,

https://dev.twitter.com/docs/twitter-libraries

Javascript / node.js

Reminder: It is strongly discouraged to use OAuth 1.0A with client-side Javascript.

user-stream by @AivisSilins — a simple Node.js User streams client
codebird-js by @myx — a Twitter Library in JavaScript. (documentation)

by accident i came across customer’s site… twitter not working. thanks a lot.