Git Product home page Git Product logo

facebookimagepicker's People

Contributors

alexkashi avatar elshad avatar floriangbh avatar frelei avatar goule avatar ianrahman avatar isuru-nanayakkara avatar mgt-la avatar pak-amsiq avatar patrickkaalund avatar tobiasf670 avatar valgrin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebookimagepicker's Issues

No such module 'GBHFacebookImagePicker'

After including the library in the podfile and doing 'pod install' in terminal, terminal lists this library among the pods successfully installed. However, I'm getting a 'no such module' error upon trying to import GBHFacebookImagePicker. I have tried restarting Xcode and reinstalling the pod. There was another issue with this error, but the poster closed it without a solution.

Getting This Error In Simulator Unable To Load Album.

Xcode Version :- Version 8.1 (8B62)
Swift version 3.0.1
Simulator Version :- 10.1

When I Click The Button To Pick Image From Facebook

It asked for permission first and i allowed it.
it then loads a blank page and i get this in the console.

simulator screen shot dec 16 2016 2 07 29 pm

2016-12-16 14:04:32.039 MemE[7911:99405] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-12-16 14:04:32.041 MemE[7911:99405] Falling back to storing access token in NSUserDefaults because of simulator bug
2016-12-16 14:04:32.046 MemE[7911:99405] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-12-16 14:04:41.582216 MemE[7911:106868] [] nw_host_stats_add_src recv too small, received 24, expected 28
2016-12-16 14:04:41.597632 MemE[7911:106868] [] __nwlog_err_simulate_crash simulate crash already simulated "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"
2016-12-16 14:04:41.611015 MemE[7911:106868] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:
[x86_64] libnetcore-856.20.4
0 libsystem_network.dylib 0x0000000105f8e682 __nw_create_backtrace_string + 123
1 libnetwork.dylib 0x0000000107d06932 nw_socket_add_input_handler + 3100
2 libnetwork.dylib 0x0000000107ce44f4 nw_endpoint_flow_attach_protocols + 3768
3 libnetwork.dylib 0x0000000107ce3511 nw_endpoint_flow_setup_socket + 563
4 libnetwork.dylib 0x0000000107ce2270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612
5 libnetwork.dylib 0x0000000107cfd44d nw_endpoint_handler_path_change + 1261
6 libnetwork.dylib 0x0000000107cfce7c nw_endpoint_handler_start + 570
7 libnetwork.dylib 0x0000000107d14ae5 nw_endpoint_resolver_start_next_child + 2240
8 libdispatch.dylib 0x0000000105d0b980 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x0000000105d350cd _dispatch_client_callout + 8
10 libdispatch.dylib 0x0000000105d12e6b _dispatch_queue_serial_drain + 236
11 libdispatch.dylib 0x0000000105d13b9f _dispatch_queue_invoke + 1073
12 libdispatch.dylib 0x0000000105d163b7 _dispatch_root_queue_drain + 720
13 libdispatch.dylib 0x0000000105d1608b _dispatch_worker_thread3 + 123
14 libsystem_pthread.dylib 0x00000001060de4de _pthread_wqthread + 1129
15 libsystem_pthread.dylib 0x00000001060dc341 start_wqthread + 13

Type 'SelectPhotosViewController' does not conform to protocol 'FacebookImagePickerDelegate'

Hi,
I get the error found in the title even though I add the protocol subs to fix it, but then the same error comes back.

This is what's not recognized as part of the protocol even though it's what the autocomplete fills in:

func facebookImagePicker(imagePicker: UIViewController, successImageModels: [FacebookImage], errorImageModels: [FacebookImage], errors: [Error?]) {
    allPhotos.append(contentsOf: successImageModels)
    collectionView.reloadData()
}

I'm running the most recent version of all pods.

How do I fix this?

Bump version

CocoaPods version doesn't have the code with the fixes for Swift 4.2 (pushed 22 days ago).

Please make a new release and push to CocoaPods.

Thanks!

Picker - Spinning

Hi,

Why does the picker gets cleared on selection? It then remains with an endless spinner, not really waiting for anything.

Thanks,
H.

support collection picker

Hi happy to finally found fbimagepicker that written in swift! Btw I've question, does this lib support multiple photos picker like oceanlabs?

Not getting latest committed files in version 1.1.8

I have installed using pods, and i checked it's version. It's shopwing me latest version 1.1.8
but in projects, i am not able to see structure like Model, View, Controller as in your demo as well as not getting some files like GBHSelectedView etc. Please see screenshots from below links.

Screenshot From your demo:-
http://prntscr.com/f71615

Screenshot of pod installation:-
http://prntscr.com/f714qo

Screenshot of my Demo:-
http://prntscr.com/f714qo

Please let me know what's wrong i did.

Swift/Objective-C Facebook asks for login twice, won't display photos

I am writing an iOS app, in which the base of the application is written in Objective-C. I however am writing a file in Swift, and am using this Swift Facebook image picker, with pod FBSDKCoreKit 4.29 and FBSDKLoginKit 4.29 in my podfile. My App delegate is also in Objective-C.

When I activate this FacebookImagePicker while using the app, I am again prompted to login with Facebook, and if I login the screen is white and blank. Any idea why?

Convertion of GBHFacebook image

I want to convert the GBHFacebook images from [GBHFacebookImage] into Nsdata for uploading of images picked from album picker to JSONAPI. Please provide me with sufficient convertion codes and respond as soon as possible.

pod update doesn't update to Facebook 5.5.0

I ran pod update GBHFacebookImagePicker and it did not pull the latest facebook core / login kits. Is there a way to run command to get 5.5.0 Facebook SDK?

Installing FBSDKCoreKit 4.42.0 (was 4.40.0 and source changed to `https://github.com/CocoaPods/Specs.git` from `https://github.com/cocoapods/specs.git`)
Installing FBSDKLoginKit 4.42.0 (was 4.40.0 and source changed to `https://github.com/CocoaPods/Specs.git` from `https://github.com/cocoapods/specs.git`)
Installing GBHFacebookImagePicker 2.6.0 (was 2.5.1 and source changed to `https://github.com/CocoaPods/Specs.git` from `https://github.com/cocoapods/specs.git`)

White browser page after authorization

When I launch the picker, I always get the authorization page in Facebook. After the login and the permission agreement the web view is blank and the only button is "Done" which close and cancel the picker. Any ideas?

Select all

Is there a select all functionality that can be added to you pod? Select all for images/videos in an album or the whole album

Tagged photos

Would that be possible to get the photo where I am tagged and all of them gathered in "an album" called "Photos of me" for example?

Cheers

Endless Activity Indicator when calling presentFacebookAlbumImagePicker

Hello - Since the most recent update, when I call presentFacebookAlbumImagePicker, it presents the picker correctly, but never shows any images, no Facebook login screen, nothing.

• In the console I see : Found 31 album(s) with this Facebook account.
• The error or success delegate methods are never called.

Not really sure what other info I can share.. It was definitely working well in the last version. Any thoughts?

No Such Module Import Question

I am brand new to Xcode/Swift, and was trying to import your frameworks with the listed instructions; I have added the dependency to the podfile, pod installed, updated. I still get a no such module error when trying to Import. Any thoughts why?

Expose the GBHFacebookNavigationController

Hi,

Would it be possible to expose the GBHFacebookNavigationController instance. Maybe in the func facebookImagePicker(imagePicker: UIViewController, successImageModels: [GBHFacebookImage], errorImageModels: [GBHFacebookImage], errors: [Swift.Error?]) method.

Like in UIImagePickerController, the picker in the method func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) allows access to its navigation controller.

If I wanted to push another view controller myself after selecting an image, for example to crop the selected image, this could be useful.

Please make compatible to FBSDKLoginKit 4.37.0 & FBSDKCoreKit 4.37.0

Hello,

I am using your GBHFacebookImagePicker library. But I can't update FBSDKLoginKit as well as FBSDKCoreKit also. Because GBHFacebookImagePicker depends on FBSDKLoginKit ~> 4.34.0 and FBSDKCoreKit ~> 4.34.0.

Can you please update your library compatible to latest version FBSDK? So I can user your library with latest version of FBSDK. It will be really helpful for me.

Thank you,
Swapnil

Profile picture not loading on first click

After login facebook all album loaded but when click on profile picture then images are not loading on first click as same happens for timeline photos loader is spinning as long as have open the screen but go back and once again click on profile picture then images loaded. FIrst time user experience goes very bad. Find my attachment
WhatsApp Image 2019-07-29 at 12 28 18

Problem with iOS 13

When presenting the view with iOS 13 the picker is instantly dismissed.

didFailWithError is not called though. Only didCancel is instantly called.

GBHFacebookImagePickerDelegate protocol implementation problem

Hi,

I added GBHFacebookImagePicker into my project using pod 'GBHFacebookImagePicker'. When I try to use, I face two problems.
1- I implemeted the protocol. It contains 4 methods. After implementation the error says that
Type 'ImagePickerLauncher' does not conform to protocol 'GBHFacebookImagePickerDelegate'
Here is screenshot:
screen shot 2018-07-29 at 12 01 14

2- When I say fix the error above. It duplicates the method and starts giving another error
Invalid redeclaration of 'facebookImagePicker(imagePicker:successImageModels:errorImageModels:errors:)'
Here is screenshot:
screen shot 2018-07-29 at 12 05 52

How should I proceed?
Best regards,
Emre.

Load images part of a facebook page

Hi there,

Is it possible to pass in a facebook page id / access token to pull images from the facebook page rather than the current user profile?

Thanks,
D

GBHFacebookImageModel to GBHFacebookImage

Hey @terflogag ,

What do you think to change the name to GBHFacebookImage?
I think we don't need explicit say that it's a model.

So in the delegate we will have something like
func facebookImagePicker(imagePicker: UIViewController, didSelect: GBHFacebookImage)

Multiple selection is not available

Hello.

Check your documentation.
And find that library allow multiple selection. But not there is no this parameter in settings.

It will be great if you add it.

Thanks.

GalleryControlles does not conform

Hey! Ive just installed it with cocoapods and it says the following when I instantiate the picker with the code:
picker.presentFacebookAlbumImagePicker(from: self, delegate: self)

Xcode throws the following error:

Argument type 'galleryController' does not conform to expected type 'GBHFacebookImagePickerDelegate'

Would you know what is happening?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.