Search code examples
androidapisocial-networkingsharing

Best way for social sharing in Android


I've been looking for a way to share information to social networks. I've found 2 possible solutions:

  • Look for installed apps and sent an intent (like android uses in it's gallery)
  • Use the socials network api

When looking for quick ways to implements i say use the installed apps for that but if it goes customization and generalization i think the second option is the best.

I've a hard time deciding if one outweighs the other or not.

So my question is: What is the best approach? One of the ones i suggested or a whole different way?


Solution

  • I have worked with the Facebook API and I know that it's a really good one. It looks if a native Facebook app is installed, if not it pops a little popup on your screen where it does it things, if yes, it uses that app to do your things.

    I think you have to take the same approach for all your Social Networks: check if app exist. if yes, use. if no, use own implementation