Is it possible to pass Facebook Graph API access token through request header?

Yes it is possible

Authorization: Bearer AccessTokenHere

e.g.

curl --header "Authorization: Bearer CAAC...ZD" https://graph.facebook.com/me

This answer previously recommended using “OAuth” instead of “Bearer” as the token type. Both will work, but “Bearer” is the type that shows up in the standard. Also, on completing Facebook’s OAuth flow, the token_type in their response is bearer. So all in all “Bearer” makes more sense.

Leave a Comment

casinojojobetpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişcasinoholiganbet girişholiganbet güncel giriş