I’m developing SharePoint Hosted APP in that i need to use javascript(Client Side Scripting) only. In previous version 1.0 i can get the data using client side scripting but now in the twitter search API version 1.1 they using some authentication. So that we need register in the twitter site and then get consumer key etc. using this we need to code in server side script and consume the data from the API.
Is it possible to use Twitter API 1.1 in JavaScript code, by passing oAuth authentication on the client-side
Hi Saravaanan,
It is possible to make a OAuth call using javascript but that means the end user can see all the secret token values. There are so many Oauth Test (Javascript) console available to test you OAuth call.
We have used our own version of the JS code to test our APIs (OAuth – server implementation). I just found this one now for Twitter.Â
http://code.msdn.microsoft.com/windowsapps/WinJS-OAuth-for-Twitter-6fb22e37
If you want a generic one – you can write a custom JS to implement the OAuth call.
Thanks
BalamuruganK