{"id":18937763,"url":"https://github.com/webkul/mobikulfbsigni","last_synced_at":"2025-08-03T17:37:32.237Z","repository":{"id":139265533,"uuid":"148624200","full_name":"webkul/MobikulFBSignI","owner":"webkul","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-12T10:24:20.000Z","size":76,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T01:05:30.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webkul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-13T10:51:16.000Z","updated_at":"2019-05-10T10:00:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"2bb00364-fdab-4bc2-98e6-bf4ebf3052e0","html_url":"https://github.com/webkul/MobikulFBSignI","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FMobikulFBSignI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FMobikulFBSignI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FMobikulFBSignI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FMobikulFBSignI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webkul","download_url":"https://codeload.github.com/webkul/MobikulFBSignI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129334,"owners_count":21217336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:12:23.056Z","updated_at":"2025-08-03T17:37:32.222Z","avatar_url":"https://github.com/webkul.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobikulFBSignI\n\n[![CI Status](https://img.shields.io/travis/bhavuk11/MobikulFBSignI.svg?style=flat)](https://travis-ci.org/bhavuk11/MobikulFBSignI)\n[![Version](https://img.shields.io/cocoapods/v/MobikulFBSignI.svg?style=flat)](https://cocoapods.org/pods/MobikulFBSignI)\n[![License](https://img.shields.io/cocoapods/l/MobikulFBSignI.svg?style=flat)](https://cocoapods.org/pods/MobikulFBSignI)\n[![Platform](https://img.shields.io/cocoapods/p/MobikulFBSignI.svg?style=flat)](https://cocoapods.org/pods/MobikulFBSignI)\n\nMobikulFBSignI is a simple library to implement facebook login in your application for saving your time, and efforts to write the code of Facebook login and also if you remove this library from your project then no need to change the code it doesn't effect your applicationand also you don't need to define or add facebook dependencies  MobikulFBSignI automatically manages. \n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n    iOS 9+\n\n## Installation\n\nMobikulFBSignI is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'MobikulFBSignI'\n```\n\n## Usage\n\nOn click event of facebook button \n```ruby\nif let myclass = stringClassFromString(\"MobikulFBSignIn\") as? NSObject.Type {\n    _ = myclass.init()\n    NotificationCenter.default.addObserver(self, selector: #selector(SignInDataViewController.responseFromSocialLogin), name: NSNotification.Name(rawValue: \"MobikulFBSignIn\"), object: nil)\n}\n\nfunc stringClassFromString(_ className: String) -\u003e AnyClass? {\n    var namespace = Bundle.main.infoDictionary![\"CFBundleExecutable\"] as! String;\n    namespace = \"MobikulFBSignI\".replacingOccurrences(of: \" \", with: \"_\")\n    return NSClassFromString(\"\\(namespace).\\(className)\");\n}\n```\n\nGet Response after sign with facebook done\n```ruby\n@objc func responseFromSocialLogin(data: Any) {\n    if let x = data as? NSNotification , let fbData = x.userInfo as? [String: Any] {\n        print(fbData[\"email\"] as? String)\n        print(fbData[\"first_name\"] as? String)\n        print(fbData[\"last_name\"] as? String)\n    }\n}\n```\n\n## Author\n\nbhavuk11, bhavuk.chawla546@webkul.com\n\n## License\n\nMobikulFBSignI is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkul%2Fmobikulfbsigni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebkul%2Fmobikulfbsigni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkul%2Fmobikulfbsigni/lists"}