且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Facebook OpenGraph - 喜欢在网站上的URL导致喜欢的应用程序,而不是Facebook粉丝页面

更新时间:2023-09-03 18:47:04

Kenh,

我有我的fb应用程序:myapp.com

一开始我没有将元标记与应用ID进行匹配,然后我有27个喜欢的 http://myapp.com

然后我切换 https ://myapp.com然后我有7个喜欢

终于我成功地使用应用程序元标记有100个喜欢。



结果:




  • 27喜欢 http://myapp.com

  • 7喜欢 https://myapp.com

  • 100个喜欢myapp.com(作为应用程序)



  • 所以你应该选择一个。



    编辑



    1-此如何获取Facebook申请页面的名称? Q& A可能与您的问题相关,应等待看到



    2- @Kenh说:您的页面将显示在用户个人资料的喜欢和兴趣部分,您可以发布用户的更新



    这是正确的myapp显示在用户个人资料谁喜欢myapp .com在喜欢和兴趣部分


    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.

    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:

    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