问题
So in my app I display some Facebook posts from a predefined page. I get the posts from my server (the server gets them from Facebook directly) and this way I avoid using the Facebook SDK.
For each post, I have both the id and the URL and whenever a user presses on a post I open the Facebook app on that given post.
Now I'd like to add the possibility for users to share these posts to their profile pages, but when a user opens a post (on the Facebook app) it doesn't appear any option to share it (only like and comment). Other option would be to use the standard android sharing feature (ACTION_SEND), but whenever I share a post's URL this way the app only shares a picture from that post, not the actual post.
Any help would be much appreciated,
Regards
回答1:
There is currently no way to mimic the "share" behavior that exists on the facebook.com website using graph API. The closest thing would be to use the link field that you mentioned.
来源:https://stackoverflow.com/questions/30155366/share-existing-post-to-facebook-app-by-id-url-using-graph-api