Fetch User's MailID while logging in by Twitter - ios

I need to fetch User's MailID in my app at the time of login by Twitter.Is it possible to take using twitter Rest API ? As far as i checked it is not possible.Other than that How can i able to fetch User's MailID ? Is there any solution for this ?
i hvae checked on this Rest API Twitter Rest API .But not possible to fetch User's mailID.
Thanks in Advance

u can get the user information from Accounts frameworks for this user has to set the twitter account in the device's settings see here
and also for your question see this, it is not possible to get email id :(

Related

Is there any possibilities to fetch the login details upto the given date in twitter using rest api's?

In my app, I want the login details of the user i.e when and where(IP address)the user is login into the account.
No, this is not possible at all in the Twitter API.

Does google return list of friends who are already using my app like facebook?

In my app sign up is possible from both Facebook and Google. And there is a requirement for accessing friends list/contacts to check who are all my friends that are already using the app. Now, Facebook already returns the response as a list of friends who are using the app that I integrated the FB SDK in.
I want to know is there any way to get list of contacts that are already in my app using Google APIs? Or I have to fetch emails of my contacts from Google and manually check in my DB if they exist or not and decide on my on?
Thanks in advance.
Cheers,
Rahul
I am the product manager for Google Sign-In. This is no way to get a list of users who already using a service ... you would have to request access to and fetch a full list of a user's contacts and check for existing users in your own database.

Search any twitter users feed

Its been a while since i last used the twitter api, Using Javscript, I would like to be able to search any random twitter users feed.
On the page I would enter there Twitter username and the app would go and find the users data returned as JSON.
I'm not after the code, I would just like to know what is the best API to use for this?
Do I just need the REST API, I assume this:
https://dev.twitter.com/rest/public/search
Also, authentication do I need to authenticate my app? how should I do that if its needed?
thanks.
If you want all of my tweets (#edent) you will need to use the User Timeline API
For example:
https://dev.twitter.com/rest/reference/get/statuses/user_timeline?screen_name=edent
Yes, you will need your app to be authenticated. You will need to use OAuth

How can My App Tweet the Contents a User Submits?

Note: I am posting this because I don't even know what to Google search. I know we're all about thorough research before asking these questions. Any help would be appreciated.
Scenario: User writes a text post from my app and when they submit it, the content is added to a Parse.com class (I know how to do this) and simultaneously it is tweeted from a designated twitter account (that does not belong to the user) let's say #MyCoolAppThatTweets.
In other words, I don't want the user via my app to be permanently logged into #MyCoolAppThatTweets twitter account, but have one-time access to send a tweet from it.
Another way to phrase this question would be: How can my app log into a specific twitter account whose credentials I can "bake" into the app without compromising the security of that twitter account.
I am already aware that normally, users of an iOS app wouldn't automatically want their content being tweeted. For the project I'm making, this is not going to be a concern (it's a secret).
If you need more information or if I need to post this elsewhere, please let me know!
From your question I am not sure if you are familiar with "Twitter part" of Parse.com and Twitter REST API. If not please start by reading this https://www.parse.com/docs/ios/guide#users-twitter-users (or take a look on official Twitter way by using their plugin called Fabric: https://dev.twitter.com/)
Since you mentioned PFUser I will describe you how to achieve it by using Parse.com API.
First your user must be logged in to Twitter account.
I suppose that your user is already logged in into your app as a PFUser so best way to log him into some Twitter account is by linking Twitter account with existing PFUser - https://www.parse.com/docs/ios/guide#users-linking.
After that you can post tweets through user's Twitter account (if permission was granted). I recommend doing that using Parse.com Twitter API calls https://www.parse.com/docs/ios/guide#users-login-amp-signup. To create API requests you need official Twitter REST API which can be obtained here https://dev.twitter.com/docs/api.

Showing all posts from a Twitter user

Using Twitter's API is it possible to write an application to show all the posts from a particular user when you don't know the Twitter password for that user?
If the posts/tweets are not protected, yes. You need the Twitter user_id or screen_name.
Check this API

Resources