I need to integrate Facebook and Twitter I’m my app: a simple share button.
Is there a library to do this ? Which the best ? Official only !?
I need to integrate Facebook and Twitter I’m my app: a simple share button.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you just want to share simple text from your app to Facebook or Twitter and so on… I would recommend to create a chooser to let the user pick which app from his phone he wants to user for sharing. It is simpler, more reliable and more the ‘android way’ of doing it.
Here is the code that you have to write :
Otherwise As for facebook and twitter, you can do this through their API.
Facebook Sdk for android Developers.
And for Twitter you can use external libraries as written on twitter developer docs, and there is a library called Twitter4J that is android ready.