I am going to get user information based on his / her Twitter account. Now, first of all, let me explain what I want to do.
In my case, the user will be given the option to Register with a Twitter account. Therefore, based on the Twitter user account, I want to get information about the user (for example, email address, name, profile, date of birth, gender, etc.) and save this data in the database. Now many people have probably suggested that I use ACAccount and ACAccountStore , a class that provides an interface for accessing, managing, and storing accounts. But in my case, I want to register the user, even if the user has not configured a Twitter account in the iOS settings application. I want the user to go to the Twitter login screen (in Safari or in the application itself or using any other alternative).
I also submitted Twitter documentation containing an API list here . But I am very confused about how the user should be presented with a login screen for logging into a Twitter account and how I will get profile information. Should I use UIWebView or redirect the user to Safari or accept another way to do this?
ios objective-c twitter-oauth twitter acaccountstore
NSPratik May 14 '15 at 10:27 2015-05-14 10:27
source share