java - Twitter Integration in android using twitter application -
I am trying to integrate Twitter into my application. If I'm installing in the device and not its current open browser, then the user has to authenticate using the Twitter Editor, like Facebook SDK is doing.
I want to get the user's login token to post a Tweet, get the follower list.
Currently I am using the twitter4j library.
Any suggestions how can I get it.
Twitter has an official SDK that you sign in with twitter work and all optional validation flows
Check it out:
Examples:
Examples:
Examples have been applied (twitter app installed, not installed, Pre> Private zero setApplicat Button () {twitterbutton = (twitter login button) findViewById (R.id.twitter_button); Twitterbutton.setclallback (new callback & lt; twitter session & gt; () {@ override public zero success (result & lt; twitter session & gt; results) {/ TODO: success flow} @ Override public zero failure (Twitter exception exception ) {// TODO: Failure to flow}}); }
The access token will result in the success of the above success.
Android Docks are here:
If you want to see an app sample with this SDK:
Comments
Post a Comment