Ich benutze FBSDKProfileExpressionKit.framework.Facebook Profilbild hochladen mit FBSDKProfileExpressionKit - swift 3.0
Ich versuche, Fotofehler hochgeladen ist aufgetreten.
ungültiges Bild kann nicht erneut versuchen versuchen.
In ViewController.swift
override func viewDidLoad() {
super.viewDidLoad()
let data = UIImageJPEGRepresentation(uplodeImage.image!, 0)
FBSDKProfileExpressionSharer.uploadProfilePicture(from: data! as Data, metadata: nil)
FBSDKProfileExpressionSharer.wasLaunchedFromFacebook()
print("set")
}
In AppDelegate.swift
func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
FBSDKProfileExpressionURLHandler.parseIncomingURL(url)
return true
}
Meine Frage: -
kann ich hochladen Profilbild auf Facebook?
Sie können kein Profilbild auf Facebook hier hochladen ist der Link - https://developers.facebook.com/docs/gr aph-api/Referenz/Benutzer/Bild/ – Ronit
availble. Link - https://developers.facebook.com/docs/profile-expression-kit/ios#uploading –
@SagarBhut Gibt es Pods für dieses SDK? –