[英]how to add a download button in facebook App Page
I have developed an android app and integrated facebook to it. 我已经开发了一个android应用程序,并将其集成到Facebook。 I want to add a button (like "Download") in facebook app page.
我想在Facebook应用程序页面中添加一个按钮(例如“下载”)。 I have seen for other app that they have added a download button and when we click on it, it launches Appstore link for that App.
我为其他应用程序看到他们添加了下载按钮,当我们单击该按钮时,它会启动该应用程序的Appstore链接。 In the same manner I want to add a (custom)button to facebook page.
以同样的方式,我想向Facebook页面添加一个(自定义)按钮。 When user clicks it should launch Android Market URL.
用户单击时,应启动Android Market URL。 I tried changing the app settings but couldn't find any.
我尝试更改应用设置,但找不到任何设置。
Please help me acheive this. 请帮助我实现这一目标。
Thanks in advance. 提前致谢。
Simple link like this should do the job. 像这样的简单链接就可以完成任务。
<a href="market://details?id=your.package.name.here">App Link</a>
If you want to be able to open the application's market page in a browser instead of the market app, use a link like this. 如果您希望能够在浏览器而不是市场应用程序中打开应用程序的市场页面,请使用这样的链接。
<a href="http://market.android.com/details?id=your.package.name.here">App Link</a>
Source: http://developer.android.com/guide/publishing/publishing.html 来源: http : //developer.android.com/guide/publishing/publishing.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.