Get user access token? (EASY QUESTION)
-
I’m trying to get a currently logged in user’s access token so I can use it in the Facebook API to do things such as:
– Post to a users wall
– Allow a user to like a page
– etc.However this is proving more difficult than I thought with this plugin.
If you look here:
http://miled.github.io/wordpress-social-login/developer-api-snippets.htmlUnder “Get OAuth access tokens”, Im assuming I put that function and add_filter() call in my functions.php file in wordpress.
But…how does this give me the token? It doesn’t even return anything. What’s the code I need to use to get the access token?
The topic ‘Get user access token? (EASY QUESTION)’ is closed to new replies.