Rafiul Sabbir
Rafiul Sabbir

Reputation: 636

Twitter API in android

I'm a beginner of android and reading a book on android and found that code snippet there

twitter = new Twitter("student", "password");
 twitter.setAPIRootUrl("http://yamba.marakana.com/api");

All the post I tweet goes to the site yamba.marakana.com but I don't want to see my twits in that marakana site, I want to post those directly to my twitter account(changing the "student" and "password" field ).

How can I do that? Is it a problem of APIRoouUrl? If yes then let me have the correct URL for the setAPIRootUrl() method.

By the way, I'm using jTwitter API from twitter in Android. Thanks in advance for the repliers :)

Upvotes: 0

Views: 673

Answers (1)

Lily
Lily

Reputation: 197

I followed the video series of the book on Youtube. He mentioned that if you want to post to the actual Twitter site, you have to submit some sort of form to Twitter as a developer for them to give you the proper information. Also, Twitter's API is probably a bit different from that of jTwitter, so it's probably not a good idea when you're just starting to learn.

Upvotes: 1

Related Questions