Facebook login like Pinterest style

I want to integrate Facebook Pinterest-style into my website. Is there any way to do this?

facebook login style facebook facebook

+1
source share
1 answer

I have a solution, but it, of course, is not optimal. I found that Pinterest uses this endpoint to create its nice button: facebook.com/v2.7/plugins/login_button.php; however, the generated output seems to be related only to the Pinterest Facebook app ID (I tried to enter my identifier, but got the standard login button according to the Facebook documentation here ).

, ScottyG iframe, Pinterest, :

<div style="position:relative;">
    <iframe name="f34219de7beb196" width="268px" height="50px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="fb:login_button Facebook Social Plugin" src="https://www.facebook.com/v2.7/plugins/login_button.php?app_id=274266067164&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FiPrOY23SGAp.js%3Fversion%3D42%23cb%3Df5f46a0766a3f%26domain%3Dau.pinterest.com%26origin%3Dhttps%253A%252F%252Fau.pinterest.com%252Ff16edab41b7ba12%26relation%3Dparent.parent&container_width=268&locale=en_US&scope=public_profile%2Cemail%2Cuser_likes%2Cuser_about_me%2Cuser_birthday%2Cuser_friends&sdk=joey" class="" style="border: none; visibility: visible; width: 268px; height: 50px;"></iframe>
    <a href="#" style="position:absolute; top:0; left:0; display:inline-block; width: 268px; height: 50px; z-index:5;"></a>
</div>

href URL-, , Oauth , ( java- api FB.login() Facebook onclick ).

: https://jsfiddle.net/rw9f7jxj/

. , Safari, Chrome.

+2

Source: https://habr.com/ru/post/1668074/


All Articles