I'm using fb api to get events from a location, and i can obtain event's data.
In retrived data there aren't emails of the event's creators or other data can help me to obtain emails.
how can i retrieve?
Related
I am using the latest version (11.0) of the Facebook API. I'm trying to get user's events using the Graph API Explorer. I can get the user's pages and events for each page, but can't get user's events.
The response of the request with events endpoint is an empty array. After adding debug=all to the request, I get the following error The field 'events' is only accessible on the user object after the user grants the the permission for user events'. , but there is no permission for user events in Graph API Explorer.
What should I do to get the user's events.
According to the docs, there is no events edge for users anymore: https://developers.facebook.com/docs/graph-api/reference/user/#edges
The error message may be misleading.
I had read the API reference, but still not sure if it's possible to send message to a friend? Suppose I had get access_token from user.
I want to use the API to display user's friends list in my Web UI, and the user can choose a friend and start to chat with the one.
Hi I am using facebook graph API in order to access page details:
https://graph.facebook.com/cocacola?access_token=xxx
I am successfully getting all the fields but I am unable to get emails field.
However in documentation it is showing emails as a response.
Facebook docs
You have to include the fields in the API call now:
https://graph.facebook.com/cocacola?fields=emails&access_token=xxx
I have a Facebook application which is connected to Facebook Realtime Updates API.
So when a post, a comment or an comment's answer is posted in my facebook fan page,
facebook realtime updates API is contacting my application.
I have severals informations according to the new comment for example:
Realtime Update Subscriptions received
Facebook RealTime API's JSON = {"object":"page","entry":[{"id":"184965658184912","time":1384250390,"changes":[{"field":"feed","value":{"item":"comment","verb":"add","comment_id":"670832519598221_8494151","parent_id":670832519598221,"sender_id":677651107,"created_time":1384250390}}]}]}
The issue is that I want to display to my users the object's URL but if the object id a comment or a comment's reply, then the URL will be different.
Do you know how to get via FQL or Graph API the URL/permalink for a givven object ID (feed post, comment or reply)?
Thanks!
How to get Facebook events via event id?
i wanted to enter a event id to get all of the data, is there any API for this?
or please tell me how to get the events via graph api.
You need the permission: user_events
API : /EVENT_ID
You can test the same here: Graph API Explorer