We will see here how to make the facebook API
First of all you will have to go totools on Facebook. Then connect to this page.
Then it will fraud go to Graph API Explorer:
You arrive on a page that looks like this:
First you go to "My Applications":
Then create a new application with your email and a name:
Then pass the security check.
After creating it you will receive a confirmation email, then I advise you to go to thetools by this link then click again on "Graph API Explorer".
You finally arrive on this page:
You must create a token that will allow you to connect after and especially to be identified by Facebook
you have 2 possibilities: -> Either you want it for a user -> Either you want it directly for a page
Pour utilisateur vous avez plusieurs choix:
I advise you to take only what you really need. Otherwise here is a screen of what I chose.
If you are more interested in a page you can choose:
"Get a page access token"
Then it asks you to accept the connection to your page. Then it creates a token for your page when you have selected "Page access token"
After that, all you have to do is press send to see your first information.
If you want to put on your website the latest posts I advise you to look at the "FEED" side.
Now it's up to you to play!! :D
For more information on the Posts,Feeds,likes,etc.
Sincerely, Axel GUZA
Nous allons voir ici comment faire marcher l'API de facebook
Dans un premier temps il va falloir allez dans tools de Facebook. Puis vous connecter sur cette page.
Ensuite il fraudra allez dans Explorateur de L'API Graph :
Vous arrivez sur une page qui ressemble à ça :
Vous allez dans un premier temps dans "Mes Applications" :
Puis en crée une nouvelle application avec votre mail et un nom:
Passez ensuite le contrôle de sécurité.
Après l'avoir créez-vous allez recevoir un mail de confirmation, ensuite je vous conseille d'allez dans les tools par ce lien puis de re-clic sur "Explorateur de L'API Graph".
Vous arrivez enfin sur cette page :
Vous devez créer un token qui va vous permettre de vous connecter après et surtout d'être identifié par Facebook
vous avez 2 possibilités : -> Soit vous le voulez pour un utilisateur -> Soit vous le voulez directement pour une page
Pour utilisateur vous avez plusieurs choix:
Je vous conseille de prendre que ce que vous avez réellement besoin. Sinon voila un screen de ce que j'ai choisi.
Si vous êtes plus intéressé par une page vous pouvez choisir : "Obtenir un token d'accès de page"
Après il vous demande de vous accepter la connection à votre page. Ensuite cela vous crée un token pour votre page quand vous aurez sélection "Jeton d'accès à la page"
Après il faut reste plus qu'à appuyer sur envoyer pour voir vos premières informations.
Si vous voulez mettre sur votre site internet les derniers posts je vous conseille de regarder du côtés "FEED"
Maintenant A vous de Jouez !! :D
Pour plus d'informations sur les Posts,Feeds,likes,etc.
Cordialement, Axel GUZA
Vous pouvez Allez voir aussi pour AUTRE API :