Changes

Jump to: navigation, search

Android Discovery Zone

774 bytes added, 02:22, 15 December 2013
Registering Twitter App - getting Consumer Key and Consumer Secret (Imtiaz Latif)
= Registering Twitter App - getting Consumer Key and Consumer Secret (Imtiaz Latif) =
In order to access Twitter API, you must create Consumer Key and Consumer Secret. Why do you need these key? because Twitter and many other organizations have added an open standard token based framework called OAuth http://oauth.net/about/ for authentication and authorization purpose.
 
'''Steps for getting Consumer Key and Consumer Secret.'''
 
'''Step 1: Navigate to https://dev.twitter.com/apps/new and enter you Twitter user name and password.'''
 
[[File:signin.jpg]]
 
'''Step 2: Once you login, you need to register your application'''
 
[[File:details.jpg]]
 
'''Step 3: After you register your App, click on settings tab and change the access type to read, write access.'''
 
[[File:permission.jpg]]
 
'''Step 4: Copy the Consumer Key and Consumer Access'''
 
[[File:keys.jpg]]
 
Please note: you also need to download Twitter4J.jar files and place it in your project's libs folder. you can further read their official documentation to determine which file you needed for your project here http://twitter4j.org/en/code-examples.html.
 
[[File:twitter4j.jpg]]
1
edit

Navigation menu