简体   繁体   中英

How to programmatically open iOS Facebook app with pre-populated status?

是否有一个URL方案来打开Facebook iOS应用程序,并在框中预先制作状态?

Yes and no. There is a fb://publish/?text=<your text here>" URI scheme (see Question 6813279 and the pertinent entry in the akosma wiki ). The problem is that it does not redirect to the sharing view used by current versions of the Facebook app (as of version 3.4, I think – left / first screenshot), but rather to the older, simplistic one used before that (right / second screenshot).

Facebook应用程序共享屏幕 - 新风格Facebook应用程序共享屏幕 - 旧样式

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