You can make calls to the Open Ed Graph API by curl, traditional web server request or as an AJAX request.
All requests made on the back-end, i.e. via CURL or from your web server need to include the secret key.
All requests made on the frontend, e.g. via on-page JavaScript or from your single-page app needs an authorization token
In the rest of the documentation, we will be referring to this authorization token as token
in our code snippets.