简体   繁体   English

Canvas App Like Button-使用应用程序URL或社区页面URL?

[英]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.

相关问题 应用程序授权后,Facebook重定向到画布URL,而不是画布页面 - Facebook redirecting to canvas url instead of canvas page after app authorization 如何设置Facebook iframe之类的按钮以将当前页面URL添加到流星应用程序上的href? - How can I set a Facebook iframe like button to add current page URL to href on meteor app? 无法通过画布页面网址访问我的应用 - Can't visit my app through canvas page url Facebook应用程序显示Facebook下画布URL的空白页 - Facebook app showing blank page for the canvas url under facebook Facebook App:这必须来自Canvas URL,Secure Canvas URL - Facebook App : This must be derived from Canvas URL, Secure Canvas URL 创建一个应用社区页面 - Creating an App Community Page Facebook应用程序:将canvas iframe重定向到应用程序(而非主应用程序页面)中的URL - Facebook apps: Redirect to canvas iframe to URL within app (not main app page) 我在哪里可以找到Facebook(Facebook上的应用程序)Canvas页面应用程序的URL? - Where can I find the URL for a Facebook (App on Facebook) Canvas Page App? Javascript Grab URL并插入到Facebook Page Tab App的Pinterest按钮中 - Javascript Grab URL and insert into Pinterest button for Facebook Page Tab App 登录Facebook App重定向到画布URL - Logging into Facebook App redirects to canvas URL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM