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/
(Not maintained anymore)
Thanks
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
- Google Buzz
This is the best solution i have found.. Thanks...
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
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!
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:
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
@AndroidKid, check out Socialize -- http://www.GetSocialize.com. It's new (didn't exist when you asked the question) so I don't know if you still have the need, but would love to know what you think about it if you give it a try.
DROdio
What about scribe?
I've been testing it with twitter successfully. It's pretty easy.
Excuse me, have you seen socialauth? I haven't used it, but it looks good!
If you are making a game, then I recommend Scoreloop's Social API They've been pretty good with keeping up with the API and being a one stop shop for simplifying some game related elements.
If you are looking at social media integration in an Android game, I'd recommend you take a look at Skiller SDK as well. It provides good support for leading social networks and the SDK seems real easy to use. For reference, look at their TicTacToe sample
Here are some commercial options I've been looking into:
http://www.gigya.com/social-login/
http://www.loginradius.com/developers#mobilesdks
http://janrain.com/product/social-login/
And a free one I've used
I found good one, and using it for my project. SocialAuth Android is an Android version of popular SocialAuth Java library by https://github.com/3pillarlabs/socialauth-android/ Support: Google Yahoo Facebook Hotmail FourSquare MySpace Linkedin Salesforce Yammer Mendeley Flickr
来源:https://stackoverflow.com/questions/5076691/integrating-facebook-twitter-social-networks-in-android