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

     

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

     

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

     

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

     

     

    Happy Coding ;)

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Reset Password
Fill out the form below and reset your password: