Is there any way I can authenticate a Facebook user without requiring them to connect in the front end? I’m trying to report the number of “likes” for an alcohol-gated page and will need to access the information with an over-21 access token, but do not want to have to log in every time I access the data.
Or is there a way to generate an access token that doesn’t expire?
I’m really not that much of an expert with facebook, so any alternatives to these ideas would be greatly appreciated.
When you’re requesting the access token you’re going to use to check the Page, request the
offline_accessextended permission and the token won’t expire when you/the user logs out.