I'm having trouble finding documentation to solve my current scenario. I have an app which takes pictures that I would like to share.
In the case of sharing on instagram I use the instructions described
here: http://ift.tt/1fAOMsW
and here: http://ift.tt/1Qk42wm
to pass image as intent and all is well. This uses the default app selection from android to find the apps which can accept the given intent format.
When it comes to Facebook sharing I would like to build custom stories using their SDK and open graph. Which I have found clear instructions for on FB's dev website.
My questions are:
1) Should I check if FB and Instagram are installed prior to doing anything else and default to basic image intent?
2) If the users has both FB and Instagram, how can I conditionally build an Instagram intent or a FB SDK call?
Thanks y'all!
Aucun commentaire:
Enregistrer un commentaire