Integrating FaceBook, Twitter, Social networks in Android

AndroidFacebookTwitterSocial Networking

Android Problem Overview


Integrating Multiple Social networks into Android with a single common Framework or API or JAR

For iPhone we have ShareKit, which integrates multiple sharing options in one framework. http://www.getsharekit.com/

For android i have no idea if something similar exists. I am building an application which shares information to social networks, like some posts and tweets. Its a simple game, where gamers publish updates about their achievements and levels.. etc.. I used Facebook and twitter APIs but they take up lots of memory and difficult to manage. Also i cannot handle them efficiently. Any help on how to integrate them would be appreciated.

I would like to have a few suggestions on this..

Another Example seems PinkelStar

http://www.pinkelstar.com/</strike> (Not maintained anymore)

Thanks

Android Solutions


Solution 1 - Android

> EDIT on 14 July 2012 21.30 IST. > > The project is abandoned by the Creator and is no more usable due to > changes in Facebook APIs. I contacted the Dev and he is not going to > maintain it anymore. I will post any updates. Until then the best > option would be to use intents. > > Thank you..

I found it after a lot of discussions with many developers. sociallib is the only reliable one.

https://github.com/sdossick/SocialLib

It allows to integrate

  • Facebook
  • Twitter
  • Google Buzz
  • LinkedIn

This is the best solution i have found.. Thanks...

Solution 2 - Android

I know the question is over a year old. However, if you search on Google this question keeps coming up in the results. Thats why I felt the need to provide another answer.

Since June 2012 a nice library called socialauth-android exists to easily integrate the 4 popular social networks (Facebook, Twitter, Myspace, LinkedIn).

I haven't had any hands on experience with this library yet, but it looks very promising. I will post more details once I've played with the library.

Please see socialauth-android website

Alternative Link : - GitHub

Solution 3 - Android

Maybe using ASNE library make your life easier? Just add dependency to your project:

dependencies {
...
    compile 'com.github.asne:asne-facebook:0.2.0'
    compile 'com.github.asne:asne-twitter:0.2.0'
    compile 'com.github.asne:asne-googleplus:0.2.0'
    compile 'com.github.asne:asne-linkedin:0.2.0'
...
}

setup and request almost anything!

Solution 4 - Android

Android uses an extensible architecture based on Intents. The preferred way is to hook into that framework, instead of trying to support every social network directly in your app as you're asking. One advantage is that new social networks and new APIs will be supported automatically. See:

Solution 5 - Android

This is a pretty old question but I will write a very answer to this. You can easily do this using the CloudRail API. Supports integration of Facebook, Twitter, G+, Instagram, LinkedIn, Yahoo, Windows Live, GitHub and Slack.. Just have to create an object of each in the same way and get an app key and app secret key. For example

Facebook f = new Facebook(this, appKey, appSecret);
f.post(…)
Twitter t = new Twitter(this, appKey, appSecret);
t.post(…)

and so on. HERE is a full blog post that shows you how to achieve this. Hope that helps DISCLAIMER: I wrote that post

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAnoop Chandrika HarisudhanNairView Question on Stackoverflow
Solution 1 - AndroidAnoop Chandrika HarisudhanNairView Answer on Stackoverflow
Solution 2 - AndroidJeroen PeetersView Answer on Stackoverflow
Solution 3 - AndroidSekoView Answer on Stackoverflow
Solution 4 - AndroidEd BurnetteView Answer on Stackoverflow
Solution 5 - AndroidPirateAppView Answer on Stackoverflow