on facebook, how do i authenticate an application, using JavaScript?
- by GilShalit
I can only find samples using php or curl.
I want to do something like
https://graph.facebook.com/<app_id>/accounts/test-users?
installed=true&permissions=read_stream
and the response is:
{
"error": {
"type": "OAuthException",
"message": "An access token is required to request this resource."
}
}
as well is should... so how do i get the access token in JavaScript (using the JavaScript SDK obviously).
thanks!