Ressources dev:Facebook JS SDK

De Ressources pour développeurs - The Roxane Company.
(Différences entre les versions)
Aller à : Navigation, rechercher
(Page créée avec « == Obtenir l’access_token de l’application == $APPLICATION_ID = "APP_ID"; $APPLICATION_SECRET = "APP_SECRET"; $token_url = "https://graph.facebook.com/oauth/access... »)
 
(Obtenir l’access_token de l’application)
 
Ligne 1 : Ligne 1 :
  
== Obtenir l’access_token de l’application ==
 
 
$APPLICATION_ID = "APP_ID";
 
 
$APPLICATION_SECRET = "APP_SECRET";
 
 
$token_url = "https://graph.facebook.com/oauth/access_token?" .
 
"client_id=" . $APPLICATION_ID .
 
"&client_secret=" . $APPLICATION_SECRET .
 
"&grant_type=client_credentials";
 
 
$app_token = file_get_contents($token_url);
 
 
Some of the features in Facebook Graph API requires a special kind of tokens called “app access token“. Features like Facebook Test Accounts and Facebook Insights make use of this token.
 

Version actuelle en date du 30 avril 2013 à 11:55

Outils personnels
Espaces de noms
Variantes
Actions
Navigation
Boîte à outils