Closed piotrros closed 8 years ago
I figured it out!!!!!
I debugged sample code very deeply and found out that facebook is returning 1 album while in my project it's returning 0 albums. I finally found difference in code from github and one installed from cocoa pods. Look here: https://www.diffchecker.com/vffe3aew
"if" always failed because coverPhoto is not a NSString.
So I reverted this file to the one from github, but actually there's one more thing needed to do: add this to podfile: pod 'Facebook-iOS-SDK', '~> 3.23.2'
probably without specifing version facebook sdk has another version, which somehow doesn't call completionHandler at all.
Damn, that was hard.
This should be solved even without a specific FB SDK version. Closing the issue.
Hi, I've added your library via cocoa pods to my swift project like this:
Then I simply import module:
and then show the picker:
First facebook app (or safari with facebook page if app is not present) starts, asks for permission (I use test accounts), comes back to app and this is what I see:
ofc I have some photos added on this user.