问题
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