Android:
i am unable to execute following code
gives verifying error at
OAuthSignpostClient client = new OAuthSignpostClient(CONSUMER_KEY, CONSUMER_SECRET, "http://localhost");
Following is the used code
OAuthSignpostClient client = new OAuthSignpostClient(CONSUMER_KEY, CONSUMER_SECRET, "http://localhost");
Twitter jtwit = new Twitter("tgreening", client);
// open the authorisation page in the user's browser
client.authorizeUrl();
// // get the pin
// String v = client.askUser("Please enter the verification PIN from Twitter");
client.setAuthorizationCode("123");
// Optional: store the authorisation token details
Object accessToken = client.getAccessToken();
- What "http://localhost" being passed in place of "oob"
- I register my app and have key and secret
- what is setAuthorizationCode "123" ? is it the user's password ? or some thing else
When i run it gives verify error.
please guide me