[英]Canvas App Like Button - use app URL or community page URL?
I've tried using both. 我试过同时使用。 If I like the URL for the app ( http://apps.facebok.com/myapp ) it counts the likes, but I don't get content from the community page. 如果我喜欢该应用程序的URL( http://apps.facebok.com/myapp ),它就算是“喜欢”,但我没有从社区页面获得内容。 The community page was generated from the developer app tool for this app. 社区页面是从开发人员应用程序工具为此应用程序生成的。 If I use the URL for my generated community page, I do get posts to the community page. 如果将URL用于生成的社区页面,则确实会在社区页面上发布帖子。 My only issue with that is Facebook automatically offers to share the URL when you like it now and the URL that gets shared doesn't take users directly to my app. 我唯一的问题是,当您现在喜欢Facebook时,Facebook会自动提供共享URL,并且共享的URL不会直接将用户带到我的应用程序。 Is there a setting that I missed to make this all work with the APP URL? 我是否有设置无法与APP URL一起使用?
I have had a similar issue with this. 我对此也有类似的问题。 You could share the URL to the community page and have that page redirect the user to your app. 您可以将URL共享到社区页面,并使该页面将用户重定向到您的应用程序。 This way, any shared links will direct users to the app and you will get the content from the community page. 这样,任何共享链接都会将用户定向到应用程序,您将从社区页面获取内容。
After much research (and looking at source for other Facebook applications) the answer is to create a community page named the same as you application and in your application use the like button with the URL of the community page. 经过大量研究(并查看其他Facebook应用程序的源代码),答案是创建一个与您的应用程序相同名称的社区页面,并在您的应用程序中使用带有社区页面URL的like按钮。 If you set it up properly, the community page can have a link to your app if it is on Facebook. 如果设置正确,则社区页面可以链接到您的应用程序(如果它位于Facebook上)。
It feels like a huge mistake on Facebook's part to not have a better connection between the page URL and the community page. 在页面URL和社区页面之间没有更好的联系,这对Facebook来说是一个巨大的错误。 Perhaps this will improve in the future. 也许将来会有所改善。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.