My app has had a twitter functionality for a couple of years that enables users to view the search results of a pre-determined search. The code to fetch and display the tweets was based on this (obviously outdated) tutorial: http://code.tutsplus.com/tutorials/appcelerator-using-json-to-build-a-twitter-client--mobile-1510
Since Twitter introduced application-only authentication last year, I haven't been able to reconcile the code with the new standards. I have my application tokens and keys all set from the twitter developer pages, but can anyone help me, (or point me in the direction of a resource), to implement steps 2 and 3 from this twitter document, specifically to obtain a bearer token from twitter and use it to make my API request.
Many thanks