简体   繁体   中英

Facebook App open in html webpage

I have a web app with a button to "share this post on facebook". I would like that it could open the facebook app (from iOs or Android) instead of the facebook web page.

Does anyone knows if it is possible?

http://zam.ba/demo

Use the Facebook SDKs (for iOS and Android respectively). They both contain mechanisms that allow your app to share via the FB app.

https://developers.facebook.com/docs/ios/share

https://developers.facebook.com/docs/android/share

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM