Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Tweet from Android application using Fabric

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 326
    Comment on it

    Fabric is Twitter's  mobile application development platform. For more about Fabric and install on Android Studio Please refer below link:- 

    https://get.fabric.io/android


    After Install Fabric. Login using Twitter account and create  Twitter app and Embed initialization code.

    Replace initialization in activity with

     

         TwitterAuthConfig authConfig = new TwitterAuthConfig(TWITTER_KEY, TWITTER_SECRET);
            Fabric.with(this, new TwitterCore(authConfig),new TweetComposer());

     

    * On Twitter's  Tweet Button write down the below code. :

     

       TweetComposer.Builder builder = new TweetComposer.Builder(this)
                    .text("just setting up my Fabric.");
            builder.show();

     

     

    Happy Coding ;)

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: