Ambili Menon
Ambili Menon

Reputation: 124

Is there any way I can retrieve twitter user's email Id (Objective-c)?

https://dev.twitter.com/docs/faq#6718

If twitter doesn't provide any API, then how does foursquare retrieve them?

In both the above cases comparison can be made only through email. Please help.

Upvotes: 0

Views: 522

Answers (1)

Analog File
Analog File

Reputation: 5316

There's no way for you to get an e-mail from Twitter. Except, of course, by asking the person to give it.

What FourSquare does need no access to the e-mail. Matching is based on the Twitter name, not on the e-mail.

In the comments you say

My friend has registered in both Twitter and Foursquare. The only field common in her profile is the email id. No other fields match. She comes in the 2nd list which i have mentioned above.

but then you admit

After she has registered with FourSquare, went to her profile, clicked on friends -> Add Friends -> opted Twitter. She was asked to login to Twitter and thus she did it

This means that now FourSquare have access to her Twitter as well as your. Foursquare knows her Twitter id and your twitter id and can access Twitter (using Twitter API) to see who is following is following who. In other words when you say

The only field common in her profile is the email id. No other fields match.

You are wrong. Once she connected her FourSquare profile with her Twitter, all data that is accessible via Twitter API is in fact (at least potentially) part of her Foursquare profile.

But she needed to explicitly connect the two profiles (which she did when she opted to add friends to her Foursquare profile using Twitter).

Upvotes: 1

Related Questions