{"id":749,"date":"2017-03-20T17:47:21","date_gmt":"2017-03-20T17:47:21","guid":{"rendered":"http:\/\/blog.azoora.com\/?p=749"},"modified":"2017-09-12T08:17:22","modified_gmt":"2017-09-12T08:17:22","slug":"adding-facebook-login-with-jquery-fblogin-plugin","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/javascript\/adding-facebook-login-with-jquery-fblogin-plugin\/","title":{"rendered":"Adding Facebook Login with jQuery.FBLogin Plugin"},"content":{"rendered":"<p>Adding a Login with Facebook option to your web app is a pain! The process requires multiple requests to the Facebook API, and usually results in a messy callback soup that you get stuck managing.<\/p>\n<p><a title=\"jQuery fblogin\" href=\"https:\/\/github.com\/ryandrewjohnson\/jquery-fblogin\" target=\"_blank\" rel=\"noopener\">jQuery.fblogin<\/a>\u00a0simplifies logging in with Facebook by jQuery. You will need a valid Facebook App Id and the Facebook JS SDK loaded to use the plugin. If you have used the jQuery.ajax() method before then using fblogin should seem familiar. Simply call $.fblogin(options) where options is an object with the desired settings.<\/p>\n<blockquote><p>Requirements: jQuery Framework<br \/>\nDemo:\u00a0<a title=\"demo\" href=\"http:\/\/blog.shakainteractive.com\/fblogin\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/blog.shakainteractive.com\/fblogin\/<\/a><br \/>\nLicense: MIT License<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Adding a Login with Facebook option to your web app is a pain! The process requires multiple requests to the Facebook API, and usually results in a messy callback soup that you get stuck managing. jQuery.fblogin\u00a0simplifies logging in with Facebook by jQuery. You will need a valid Facebook App Id and the Facebook JS SDK [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":911,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[12],"tags":[48,17],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2017\/03\/login-with-facebook-jquery.jpg","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-c5","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/749"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=749"}],"version-history":[{"count":3,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/749\/revisions\/753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/911"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}