简体   繁体   English

如何在Facebook App页面中添加下载按钮

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

相关问题 如何通过Android应用程序在Facebook的每个帖子上添加下载按钮? - How to add Download Button on every post of Facebook via android app? 如何添加下载取消按钮以在Android应用程序中下载进度 - How to add a download cancel button to download progress in android app 如何在我的Android应用程序中添加按钮,以将图像视图中的图片发布到Facebook页面? - How can I add a button in my android app that posts the picture which is in image view to a Facebook page? (Facebook)iPhone和iPad未出现在App下载页面中 - (Facebook) iPhone and iPad not appearing in App download page 如何向我的Android应用程序添加一个按钮,而不是向Facebook页面添加按钮? - How to add to my android application a button than do like to a facebook page? 如何将图像按钮链接到Android中的Facebook页面 - how to link the image button to a facebook page in android 如何在Android应用程序中添加Facebook Share按钮 - How to add Facebook Share button in Android Application 如何从应用程序登录按钮登录到Facebook? - how to login to facebook from app login button? Facebook应用程序如何实现可拖动的浮动按钮 - How facebook app implements draggable floating Button 成功登录android facebook应用程序并在新页面上获取注销按钮后如何开始新活动并隐藏登录页面 - How to start a new activity and hide login page after successful login in android facebook app and get logout button on new page
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM