How a button for a Facebook page shows a general description of Facebook in the news feed

I need a Like button on my website that my Facebook profile likes (not my web page), so when a user clicks on it, they subscribe to my Facebook posts.

I created a Like button using the tool https://developers.facebook.com/docs/reference/plugins/like/

Further on this page there is an entry in the FAQ:

Can I link the Like button on my Facebook page?

Yes. Just provide the URL of your Facebook page in the href button parameter.

So, I edited the href parameter to point to my Facebook page. eg:

https://www.facebook.com/myfacebookid

When the user clicks the “Like” button, he has the desired effect. A user ends up loving my Facebook page. It’s easy to check if a user goes to my Facebook profile and checks that the Like button has changed to Liked.

But. When the user clicks the “Like” button, and the entry appears in the news feed with a general description on Facebook. i.e:

Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, upload an unlimited number of photos, post links and videos, and learn more about the people they meet.

I do not want a generic Facebook post to appear. I want the description to apply to my Facebook account and / or website.

Typically, I can change this behavior using the Opengraph og: description tag, but since the page in href is a Facebook page, not mine, I cannot control the Opengraph tags.

I'm sure this works fine before I turn on the schedule of my account, so maybe this is a timeline error?

So, how do I add a “Like” button, which: a) likes my Facebook profile, and not one of my own web pages, and b) publishes a description of my profile on Facebook, rather than giving a general description of the Facbook?

+6
source share
5 answers

Are all your fields in the information part of your page filled and / or completed? I just checked your theory and it seemed to work as expected, only I know that all the fields in "info" are filled. Give it a try.

0
source

This can happen if you filled in invalid / incomplete / incorrect og tags in the past and then changed them. Facebook cache sometimes creates a problem.

Try to put all the entries (i.e. all og tags) and then debug them here http://developers.facebook.com/tools/debug . This debugger provides detailed URL information with og tags and also clears the cache for you.

This should solve the problem.

0
source

You have 3 important fields that were used on the opengraph page: Name, Description, Profile Image. They are used when someone posts your link on Facebook or Google or some other web service that processes opengraph.

0
source

In fact, the proposed answers do not currently work, and there is a bug / ticket on Facebook for him to open . There is still no fix.

0
source

The problem is that you cannot just use https://www.facebook.com/myfacebookid . You must copy and paste the exact URL of the page. If you have few users, it will look something like https://www.facebook.com/pages/[YourPageName]/[Your page Id]/ , and this is the URL you should use at this point. If it doesn’t work, try also https://www.facebook.com/[YourPageName]/[Your page Id]/ .

In short, copy the URL, do not enter it manually.

0
source

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


All Articles