├── ajax-loader.gif ├── README.md ├── LICENSE └── jssdkouth2.html /ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmudahsan/New-JavaScript-SDK---OAuth-2.0-based-FBConnect-Tutorial/HEAD/ajax-loader.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Javascript SDK oAuth 2.0 based FBConnect 2 | 3 | Today Facebook released their updated JavaScript SDK. Now the authentication system is based on OAuth 2.0 and HTTPS. So I updated my previous tutorial by writing this new post. In this post I'll show you using javascript how could you easily integrate facebook connect (login/logout) features in your site. Additionally how to use Facebook API to get user's information. Here I only used JavaScript no back-end PHP or any server side language. 4 | 5 | ### How to Integrate Step by Step: http://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/ 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Mahmud Ahsan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /jssdkouth2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | New JavaScript SDK & OAuth 2.0 based FBConnect Tutorial | Thinkdiff.net 6 | 9 | 10 | 11 |
12 | 204 | 205 |

New JavaScript SDK & OAuth 2.0 based FBConnect Tutorial | Thinkdiff.net

206 | 207 | 210 |
211 |
212 |
213 |
214 | 215 | 226 | 227 | --------------------------------------------------------------------------------