nikunjkacha / twimight

Automatically exported from code.google.com/p/twimight
0 stars 0 forks source link

How To Add Consumer Keys #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile and run
2. Asks to authenticate against the original developer's keys.

What is the expected output? What do you see instead?
I want to be able to add my own keys.

Original issue reported on code.google.com by terence.eden on 9 Jul 2012 at 2:00

GoogleCodeExporter commented 8 years ago
You can register a new app on Twitter developers and you will obtain your keys. 
Then you can use them instead of the Bluetest library

Original comment by ing.pca...@gmail.com on 17 Jul 2012 at 10:49

GoogleCodeExporter commented 8 years ago
That doesn't tell me *how* to use them instead of BlueTest :-)
What do I need to do to create a jar like blue test?

Original comment by terence.eden on 17 Jul 2012 at 10:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
actually is not mandatory to create a new jar. You could just place your key 
and secret at the row 139 of TwitterService as first two parameters:

new OAuthSignpostClient(Obfuscator.getKey(), Obfuscator.getSecret(), token, 
secret);

Original comment by ing.pca...@gmail.com on 17 Jul 2012 at 10:56

GoogleCodeExporter commented 8 years ago
That doesn't work. Changes also need to be made in LoginActivity.

When those changes are made, connectivity fails.

Original comment by terence.eden on 17 Jul 2012 at 3:39

GoogleCodeExporter commented 8 years ago
Of course, the CommonsHttpOAuthConsumer creation in Login activity needs to be 
updated as well in the same way.

Original comment by ing.pca...@gmail.com on 20 Jul 2012 at 10:39

GoogleCodeExporter commented 8 years ago

Original comment by ing.pca...@gmail.com on 6 Sep 2012 at 3:12