OceanLabs / FacebookImagePicker-iOS

A Facebook image picker providing a simple UI for a user to pick photos from a users Facebook account. It provides an image picker interface that matches the iOS SDK's UIImagePickerController.
https://www.kite.ly
MIT License
103 stars 56 forks source link

Facebook callback not being called - RESOLVED #13

Closed RitvikM closed 8 years ago

RitvikM commented 8 years ago

When I use the library i get a message saying that I ahve already authorized the app, and then when i click okay, it goes immediately dismisses the photo picker view, and I can never get too it.

Also the HuggleUp App doesn't seem to show up images on the picker view, its just empty. After dismissing the empry picker view by clicking 'Done' it crashes. I am using an iPhone 6S with iOS 9.1

RitvikM commented 8 years ago

it looks like the callback in line 53 of FacebookImagePickerController.m, isn't being called, after a user authorizes the app on FB

if( imp ) imp(login, aSelector, permissions, self, ^(id result, NSError *error) {

RitvikM commented 8 years ago

this was caused because I did not include the following code in my AppDelegate:

Please mark this issue as closed.

The HuggleUp App bug still exists though.

dbotha commented 8 years ago

@ritvikm glad to hear that worked for you, I'll make a note to call out the step more clearly in the documentation! HuggleUp needs and update after which the issue you're seeing should disappear!