In the front I get “ERROR: An access token is required to request this resource.”
But no error in the back, it just reloads the widgets panel after trying to get the access token.
I managed to get the access token (still don’t know what it is) via that debug console you gave me, pasted into the widget config and now I can retrieve the events.
Still the button “get Facebook access token” doesn’t work.
How can I give you more details?
Thank you!
check the access token you use here:
https://developers.facebook.com/tools/debug/
it might have time limit and then you will need a new one.
i’m not sure why you dont get an access token using the button.
when clicking the button you dont see an error?
can you give me the page id you want events for so i can try to get access token for it on my demo website?
The token I got from the debug console expired, I created another one, but the whole thing escapes me: why don’t just I need a page id and a password?
Where should I document myself?
This is because the app id + secret is like a virtual user. it doesn’t necessary have access to pages and so on.
The plugin generates an access token with the app id and secret you provide and with this token the plugin has access to your facebook page.
When generating a token you are being asked for access to the page.
Later you can revoke this access.
This is less visible in this plugin case where you are also the site owner.
But think of a third party service that does stuff for you on your page. like auto post news.
As a user of the third party you don’t fill app id and secret but only approve access to your page which generates a token for the third party service.
Later you can revoke that access from the third part service.
Thank you for the intro!
The debug token expired again of course.
No, your plugin is unable -as for now- of getting an access token, but something has changed since a few days ago: it reloads the page very quickly, while before it took some 10-20s to reload.
Thank you very much, where can I contact you to send the fb page id?