Facebook as a button - discrepancy between rendering old and new designs

I made a Facebook Like button on Wordpress theme blog posts using the Javascript SDK , including the following attributes:

data-layout="button_count" data-action="like" data-size="large" data-show-faces="false" 

As you know, Facebook changed the design of this button during the summer of 2016.

I created a sharing panel where I emulated the same button design for other social media platforms and made the Facebook button as a button at the end of the line:

Render of new designed Facebook like button

Interesting, however: the client sent an error to say that “Facebook Like” did not fit along with the other buttons. On the exam, I realized that in terms of location, he is doing the old design:

Rendering an old Facebook design as a button

It seems that coming out of Facebook, it displays the old design. However, for some users, when logging in, it still displays the old design.

Does anyone know if a new design can be forced, otherwise how can this be fixed?

+6
source share
1 answer

I had the same problem recently, realizing that only when a user logs in we use a new design. In contact with Facebook , what they said:

Thank you for contacting us! Normally, when a new function is launched, different users are likely to see different things (old design and new design). Sorry that the developer cannot customize the design of which is shown to the user. I think that the new design should not be a question on your site, because the size of the component has not changed. If you need more information, please let me know.

Unfortunately, this is not a custom thing yet. Option: wait until they release it for all situations.

+3
source

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


All Articles