Facebook OpenGraph - Liking a URL on website leads to Liking the App instead of the Facebook Fan page

爱⌒轻易说出口 提交于 2019-12-08 05:44:13

问题


Recently, I used Like Social Plugin from Facebook on my website.

I also embedded Facebook Opengraph Meta Tags on the webpage.

In OG Meta Tags, I have filled the APP ID of the dummy application i created using the same account as the Facebook Fan Page. Hence, When a visitor likes a url or post on my website, He automatically likes the Facebook App. This works perfectly.

But, I want it this way:

When a user likes a post, He must also like the Facebook Fan Page so that the like count of Fan Page increases.

Please let me know how to do this.


回答1:


Kenh,
I have my fb app: myapp.com
at the beginning I did not put meta tags with app id, then I have 27 likes for http://myapp.com
then I switched https://myapp.com then I have 7 likes
finally I succeed to put meta tag with app I have 100 likes.

The result:

  • 27 likes for http://myapp.com
  • 7 likes for https://myapp.com
  • 100 likes for myapp.com (as application)

So you should choose one.

EDIT

1- this How to get name of facebook application page? Q&A may be related about your question, should wait and see

2- @Kenh says: Your page will appear in the "Likes and Interests" section of the user's profile, and you have the ability to publish updates to the user

That's correct myapp is displayed in users profile who like myapp.com in "Likes and Interests" section



来源:https://stackoverflow.com/questions/7846580/facebook-opengraph-liking-a-url-on-website-leads-to-liking-the-app-instead-of

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!