I did a facebook app with a webhook. I can get it to send a test to my endpoint app, but how do I connect it to at user or a group to get real data?
I can't find it anywhere in the docs.
Related
I went through the documentation for creating a chatbot for messenger platform.
All I find there, I need a server, which in the case used as a service for the Facebook platform.
The server also validates the webhook from facebook app.
Now I see, for a chatbot, I need a facebook app, webhook server and definitely a facebook page.
Then I find an application Flow XO, where I only put the page name and the bot is ready.
My question is, how they(flow.xo) can communicate facebook page without a Facebook app(appId, appSecret) and webHook.
My question is, how they can communicate facebook page without a Facebook app(appId, appSecret) and webHook.
They can’t.
They use their server and their app to communicate with the API, on behalf of the users that grant them access to their pages, by providing the necessary permissions when they log in to that app.
Facebook allows to create a Facebook App which integrates multiple chatbots. At Amio, we ask you for permission using Facebook OAuth. When you give us these permissions we send and receive message on your behalf. This allows you to create a chatbot using Amio API without need of creating a Facebook App.
Facebook Page is always needed as this is the entry point of users interacting with your bot. You can check Amio documentation for more detail.
When using facebook apps like chatfuel and manychat (which are bot creation platforms), these apps request permissions that allow them to manage my pages and send messages.
I want to create a similar app that allows users to send messages from their pages through my app, but I can't find how to request such permissions in Facebook's documentation.
You need to be given the administrator role for each Page, then connect your app to the Page and generate a page-scoped token for each one.
Can anyone tell me what I can extract from the Facebook JS SDK that I can use to send to a web service that I'm using to safely identify a user from?
For example, once I have established the user has auth'd my application, I want to register this user in my server database. Then I want to use their ID to request data about this user, so a GET to my server such as "user//thedata".
Here is what I'm trying to achieve. Once my user is logged in using the Facebook API, I want to able to make web service calls to my hosted web service in the context of that user only. How do I avoid traffic sniffing or simply asking the web service for a different users ID for their data?
Update:
Do I simply use the auth_token that Facebook gives me after logging in, send this to my server, and then have the server query the Facebook Graph API with the token to get the user ID?
Thanks.
I have Facebook user's details Like FBid, Fb user name on my server data base. I want to send email/Notification of this user on Facebook. How can I achieve this. It is very easy to send this via my iPhone app because Facebook access token is on my device but I want to send notification via Server. Please let me know How can I send this. Thanks
What have you tried?
What I have already done : After R&D I found that "username#facebook.com" will work for send email to FB user, and it was working but after AWS setup its throwing mail bounce messages :(
http://www.facebook.com/help/224049364288051
How can I send email to a facebook friend using his facebook id via fql or graph api
Sending Email to #facebook
I am building a website and I want it to integrate with Facebook Connect.
I want to restrict the users connecting to only those who are part of a specific Facebook group or let them connect and have an admin approve their account. Is this possible?
This should be quite achievable.
Present an entry page on your site that requires the user to log in with Facebook Connect. (See "Authenticating Users with Facebook Connect"). Once they're logged in, you will be provided with a Facebook session id specific to that user. You can use that session id to query for user information, either inside the page with the Javascript API libraries, or server side (see "Using Facebook Connect with Server Side Libraries").
One of the API calls is groups.get, which will return the groups that the user is in.
You should be able to retrieve the user's associated groups after they've logged in to Connect, and as part of your page load process check to see if they're in the right group. If they're not, simply re-direct them appropriately.