You don’t need to download it separately, all the required files of Facebook PHP SDK v5 are included in our Facebook Login PHP source code. The facebook-php-graph-sdk/ directory contains the latest version (v5) of Facebook SDK for PHP. ) ENGINE= InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci Facebook SDK for PHP `link` varchar( 100) COLLATE utf8_unicode_ci NOT NULL, `picture` varchar( 200) COLLATE utf8_unicode_ci NOT NULL, `gender` varchar( 10) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar( 25) COLLATE utf8_unicode_ci NOT NULL, `last_name` varchar( 25) COLLATE utf8_unicode_ci NOT NULL, `first_name` varchar( 25) COLLATE utf8_unicode_ci NOT NULL, `oauth_uid` varchar( 50) COLLATE utf8_unicode_ci NOT NULL, `oauth_provider` enum( 'facebook', 'google', 'twitter', '') COLLATE utf8_unicode_ci NOT NULL DEFAULT '', The following SQL creates a users table with some basic fields in the MySQL database to hold the Facebook account information. To store the user’s profile information from Facebook, a table needs to be created in the database. Once the review process is completed and approved by the Facebook, you will be able to get the user profile link and gender from the Facebook Graph API.ĭo you want a detailed guide on Facebook App creation? Go through this guide to create Facebook Developer App and get the App ID & App secret. This App ID and App secret allow you to access the Facebook APIs. Go to the Settings » Basic page, note the App ID and App Secret.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |