i want the performers of an event using facebook api. There is no field like performers or artists in events in documentation. How do i get that?
If there's no field available in the API for the data you're looking for, there's no way to fetch that data programmatically
I didn't actually realise there was a 'performers' field for Events on Facebook.com (none of the events i can see have such a field visible), perhaps examining the description field will contain the information you're looking for - https://developers.facebook.com/docs/graph-api/reference/v2.3/event
Related
I am trying to collect data about a post on facebook from its graph api. I am able to get all the other information (like comments, when the comment was created, who created it, etc etc) but i am not able to find the timestamp on the reactions. That is i want find out at what time (and date) did the user add the reaction. Does facebook have this information? If yes, then how do i get that information using graph api?
Does facebook have this information?
Most likely they do.
If yes, then how do i get that information using graph api?
You don’t, because they do not provide that information via API.
For a page you manage you could set up a webhook for the feed endpoint; that will get you updates for everything that happens on the feed - new posts, new comments, new reactions ... You’d have to filter out the reactions on your end, and then you could record them in your database with a timestamp that should be close enough. (That will only work for new reactions though, and not already existing ones.)
Yes , you can get details of comment by:
https://graph.facebook.com/{page-id}/{post-id}/reactions?access_token={page_token}
I am trying to set up a page-hosted event via the Facebook frontend, not via the api. I recently heard about a "category" field that should be available as of graph api v2.4. A perfect way to sort my events by topic, I thought by myself.
However, the desired option is just not there in the Facebook frontend. Every other field is available, such as Ticket-URI, Tags, etc.
Am I missing something here? Is the category field restricted to specific countries (Germany is speaking) or has the field been deprecated?
Thanks in advance for enlightening me.
I am trying to utilise the Facebook Graph API to access the section 'Events Popular In Your Network'. However, I cannot seem to find an endpoint that gives access to these. Is there a possible way to get hold of this information? The section is accessed by clicking 'Events' and scrolling down.
Unfortunately no, there is not an specific endpoint for that.
If you want, you might be able to build something similar using events (events docs). Getting friends events, checking attendees (attending endpoint) and ranking them (popular in this case means more friends attending to the event).
I hope it helps.
I took a look at the api and it appears that I can only pull the events associated with a user. What I would like to do is pull events that may or may not be associated with a user. Is this possible?
You can search for Events via the /search?type=event&q={your_query} endpoint. Have a look at the docs at https://developers.facebook.com/docs/graph-api/using-graph-api/v2.1#searchtypes
I am new to the API. I tried /me/likes in the graph explorer, it returns only the pages that I like (rightfully so according to the api reference). However, I'd like to get everything - namely posts, photos, statuses, etc - that I have liked.
Any insight?
I do not believe it is possible to get what you are asking for with the Graph API. A good way to see what query to use to get data is to first look at the website and mobile apps to see if they present the data you want. This is because the website and mobile apps will use the Graph API or FQL to retrieve data when it is available through those sources. So all you would need to do is go to the page that contains data that you want and then using a network traffic capture tool (like Fiddler) you can see what requests are being made to get the data.
It turns out that there is a page on the website that displays all of the objects that a User has Liked. To see this, select "Activity Log" in the drop down on the right-most side of the FB toolbar. Then select "Likes" from the left side column. This view will display the data that you are looking for. Unfortunately, to get this data the app makes a request to:
https://www.facebook.com/123456/allactivity?privacy_source=activity_log&log_filter=likes
Where "123456" is the FB UserId. What is returned is an HTML page and not JSON.
As the answer to this question has pointed out, it will take multiple Graph API AND FQL queries just to retrieve the objects that are in your Activity Log. You would then need to spin through those to determine if it is something you Liked or not.