Facebook API Graph - Search for events (access token) -
I try to search pages and events by using two different calls (still using graph explorer) :
search = fields = name & amp; Q = wars & amp; Type = page
search = fields = name & amp; Q = warsaw & type = event
The second (event object) only works with the user token when there is an invalid token error when I generate an app token. Is it possible to get results for second question with app token? It is important to me, I need to use it in my code.
Can I generate user tokens in scripts (HTTPS request),
or long user token
or (the most wanted solution ) Get results for tokens above (type = event), by app token?
Update:
OK, sory, so it is clear that App Token does not support search for the event (but I still can not understand why - Events , Such as a public object and does not have a personal data)
I am going to clarify another method. I want to download information about events and use it as a public in my own site (database). The objective of this operation is to create a database of FB events (something like EventBract), so I need to set it as a public (App / site related, not a user profile)
I know That this is not a standard use of Facebook API, but if it violates the FB policy, please write to me - I do not know about this clearly. I have to ask about it here, I think it is legal.
Now I can retrieve events through page nodes (get all the events for each page), but it is strongly ineffective - only a few pages are the organization of the whole event. Need to locate
Is there a solution to that problem?
Why do not you just contact Facebook docs? This clearly states
has been explicitly stated in it
- The page and place objects Search between center requires an access token.
- All other end points require a user token to use.
So, no , you only have one