{"id":13485385,"url":"https://github.com/SimformSolutionsPvtLtd/SSTwitterLogin","last_synced_at":"2025-03-27T19:31:03.992Z","repository":{"id":49752519,"uuid":"155864155","full_name":"SimformSolutionsPvtLtd/SSTwitterLogin","owner":"SimformSolutionsPvtLtd","description":"The reusable Twitter login components for iOS is the easiest way to get data from Twitter.","archived":false,"fork":false,"pushed_at":"2019-05-27T07:32:33.000Z","size":35,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T15:44:40.991Z","etag":null,"topics":["ios","ios-swift","login","swift","swift4","twitter","twitter-api"],"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/SimformSolutionsPvtLtd.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}},"created_at":"2018-11-02T12:39:15.000Z","updated_at":"2023-09-30T21:55:38.000Z","dependencies_parsed_at":"2022-08-21T04:50:08.070Z","dependency_job_id":null,"html_url":"https://github.com/SimformSolutionsPvtLtd/SSTwitterLogin","commit_stats":null,"previous_names":["simformsolutions/sstwitterlogin"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSTwitterLogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSTwitterLogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSTwitterLogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSTwitterLogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimformSolutionsPvtLtd","download_url":"https://codeload.github.com/SimformSolutionsPvtLtd/SSTwitterLogin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785804,"owners_count":20671633,"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":["ios","ios-swift","login","swift","swift4","twitter","twitter-api"],"created_at":"2024-07-31T18:00:21.269Z","updated_at":"2025-03-27T19:31:03.732Z","avatar_url":"https://github.com/SimformSolutionsPvtLtd.png","language":"Swift","funding_links":[],"categories":["iOS Guides","iOS"],"sub_categories":["Swift"],"readme":"# SSTwitterLogin\nThe reusable Twitter login components for iOS is the easiest way to get data from Twitter.\n\n# Features\n•\t Get default user data from Twitter\n\n# Requirements\n•\tiOS 10.0+\n\n•\tXcode 9.0\n\n# Installation\nTake TwitterLoginHelper.swift, and TwitterConstant.Swift\nImport two files in your project and it's done\n\n# Manually\n1.\tConfigure Twitter App Settings for iOS (https://apps.twitter.com/)\n2.\tDownload TwitterKit SDK \n3.\tAdd SDK to Project\n4.\tConfigure Xcode Project\n5.\tConnect App Delegate Using TwitterLoginManger.swift Methods\n6.\tCongratulations!\n\n# CocoaPods\n1.\tConfigure Twitter App Settings for iOS (https://apps.twitter.com/)\n2.\tInstall Pod ‘SSTwitterLogin’\n3.\tConfigure Xcode Project\n4.\tConnect App Delegate Using TwitterLoginManger.swift Methods\n5.\tCongratulations!\n\n\n# Usage example\n\n**Add following in your application:didFinishLaunchingWithOptions launchOptions:**\n\n```  \n  TwitterLoginHelper.sharedInstance.twitterStartwith(consumerKey: \"YOUR_APP_CONSUMER_KEY\", consumerSecret: \"YOUR_APP_CONSUMER_SECRET\")\n```\n\n**Add following in your application:openURL:options function**\n\n```\n  return TwitterLoginHelper.sharedInstance.twitterConfigurationWithOptions(application,open: url, options:options)\n```\n\n\n\n**To Do Twitter Login**\n\n```\nTwitterLoginHelper.sharedInstance.doLoginWithTwitter { (isSuccess, error) in\n            if isSuccess {\n               // Fetch LoggedIn User's Details\n            } else {\n                print(error?.localizedDescription ?? \"\")\n                TwitterLoginHelper.sharedInstance.logoutFromTwitter()\n            }\n}\n```\n\n**To Fetch LoggedIn User's Details**\n\n```\nTwitterLoginHelper.sharedInstance.getLoggedInUserDetailswith(completion: { (userData, error) in\n            if userData != nil {\n                print(\"UserData: \\(userData?.userID ?? 0)\")\n            } else {\n                print(error?.localizedDescription ?? \"\")\n            }\n        })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSTwitterLogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimformSolutionsPvtLtd%2FSSTwitterLogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSTwitterLogin/lists"}