Today we will discuss about Facebook login logout with php. In this article, you will learn that how to use facebook php api. This is very simple script for login and logout with facebook api. With the help of this script you can login logout facebook from your website. This code also helps to save user data like name, email and facebook’s user id.
Following technologies are used in this article:
3. Facebook Php SDK
1. First of all create facebook app from developer.facebook.com
2. Login with your account.
3. Create new app and make it accesible for public.
4. When you have created your app then you will get app-id and app secret-id.
5. One thing more, please add website url in related section. Otherwise you will get error.
If you have any query then you can comment.