简体   繁体   中英

Open Facebook app in profile picture upload on iOS

I'm struggling to make my app open the Profile Picture upload screen of the Facebook App just like the Prisma App is doing on the latest update.

Prisma App example - image

Facebook Profile Picture Upload - image

I was trying to use the URLs Schemes (like the "fb://profile/", basically all of the listed schemes ). I came up with these two.

"fb://nux/profile_picture?external_photo_source=%s"

"fb://profilepictureupload"

and opened these url schemes in my iOS App using:

    let url = NSURL(string: "fb://nux/profile_picture?external_photo_source=\(savePath)")!
    UIApplication.sharedApplication().openURL(url)

This is not documented on the Facebook Developer page, so I'm completely lost with this issue. Thank you guys! :)

您不得使用URL方案:)此功能由此Facebook SDK https://developers.facebook.com/products/profile-expression-kit实现

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