How can i get a callback on successful sharing on facebook messenger - facebook

Lets say, I have a bot game which offers a user to share the result screen with other users of messenger. For this reason messenger has a 'Share' button. When user clicks on Share Button Facebook offers to choose which users to share with.
The question is how to get a callback if users successfully shared the screen with at least one user.

Related

Facebook Oauth-enticated users, chat between themselves on website

I have a website where users log in with Facebook. Right now there's no way for users to contact each other.
I was thinking of building a dedicated live messenger with sockets, but I wonder if there's an easier way to allow them to send messages to each other's Facebook Messanger, since they are already logged in with facebook.
There is no API for a chat between two users. Everything in Messenger API is focused on communication between a user and a page.
At most you can use the Send dialog to let a user send a link to their friends, but that requires the user actively using the button, you can not “automate” that; and handling the result will have nothing to do with your site any more, everything after that will happen in messenger only. https://developers.facebook.com/docs/sharing/reference/send-dialog

How can a facebook bot send a message via messenger that the user can then share to their timeline?

I'm writing a facebook bot and want to enable the user to be able to post or share a URL, description and hashtag to their own wall, from within the messenger app.
Looking at messenger it appears as though the only native sharing options are to share to other messenger users or post an update to your day, not post to your facebook wall.
The only way I can think of doing this is having a standard FB share button hosted on the page I want them to share, but that would not be as fluid a user experience for the user, it would be lovely if there was a way within the messenger app that I could enable the user to share the URL with description and hashtag directly.
Is this possible? Thanks.

User Activity Data from phone with Facebook Messenger Bot

Is there a way to get user activity data (like step count, sleep details, walking distance etc) that is stored on the phone via a Facebook messenger bot?
If the bot cannot retrieve it automatically, it is okay even if there is an option for the user to share that other than manually typing it(like location sharing, which is also not available automatically).
What you've requested is currently not possible.
I'm also not sure I would want to share this information with a Facebook Messenger Bot.

Facebook App Policy : incentivizes users to use Facebook social channels

This may be a controversial topic.
I have an app that just banned by Facebook, which is reported that the app violates Facebook App Policy (VI. 1)
Your app gates content behind or incentivizes users to use Facebook
social channels. (FPP IV.1)
Here is the Facebook App Flow:
Click "Page Tab App" icon
Enter the landing page, check whether the user installs the App or not; If not installed, install the App
Enter the checking page, check whether the user likes a Fans page, share to wall & send friend requests; If not, the user will not allow to go to next step.
Next page is a questionnaire; user has to complete the questionnaire to go to next step
Last page is a Thank You page
The whole idea is, the user has to complete the flow to enter a lucky draw (prize will be given to winners).
My question is, how to avoid violating the rule?
It's pretty straight forward...
You are telling the user that he must like a page, share to his wall and invite his friends, all of those are social channels which you "force" the user to go through in order to use your app.
You can ask your users to like your page, you can ask them to invite their friends (or better yet offer them a better experience when their friends join), but you can not (and that's the policy violation) incentivize them to do so by saying "do that or don't use the app"

how to integrate facebook in my application in iphone

i am creating a music application and i want to integrate facebook into my application.when the user logs in for the first time in facebook the log in page of facebook should be displayed and after when he clicks on the login button my custom dialog page should be displayed containing buttons of publish feed, retrieving friends and logout and when the user clicks on a particluar button for.e.g publish feed his wall page should be displayed and when he enters some information in that it should be posted to his wall and his friends wall and how can i create the template bundle id of my application in facebook.
Please help me regarding this problem
See: http://wiki.developers.facebook.com/index.php/Facebook_iPhone_SDK.
Have you tried implementing any of the application above? People will generally be more helpful if you attempt the a solution and have specific problems.