Is this possible with twitter api? like in facebook i can request more information, can i request the user email through twitter? how?
thanks
no twitter doesn't give out the email using the API
Related
I have list of emails. And want to send a market campaign through messages on twitter. How it can be done using email list.
This is not possible, as there's no way to look up Twitter accounts via email address in the Twitter API.
I am using spring social and the twitter api, Im able to get the connection working but cant find the way to retrieve the user's mail. Is there any way to do this?
No. The Twitter API does not give you access to private information such as email addresses.
I'm using the omniauth gem so people can log in to my site with their google accounts. I have it working with facebook and twitter but I for google accounts I can't extract the UID properly on the callback.
For Facebook & Twitter I can use:
#user.uid = auth["uid"]
But this gives me:
https://www.google.com/accounts/o8/id?id=gXtgsdgirhGugasuzdg-asdhuzigaoWV1kgo
When I try to use a google account. I also can't work out how to get a photo.
Thanks!
Alex
What it gives you is in fact the UID for your user. It is his unique OpenID URL that he is identified by.
Twitter and Facebook use OAuth, Google uses OpenID. If you want the user's e-mail address, it will be in auth["user_info"]["email"].
is it possible, using the twitter api, to get a twitter user through his email - searching for user by email?
i know that the user/show method was able to do it, but now the email parameter has been deprecated.
any thoughts?
There is currently no way to do this via the Twitter API, unless you're in the closed beta for this feature, sorry.
Prior art:
How do I get a Twitter username based on an email address?
Retrieve email from twitter profile
Twitter API: search people by email
Any way to get Twitter user email?
Is it possible to post a message from a website to twitter account? For Example, If a user post a comment in my website, that comment should also be posted to my twitter account. Is there any API or any PHP based scripts?
Have a look at http://emmense.com/php-twitter/; it uses curl to communicate with twitter.
There is a Twitter API ; you can check it out here https://dev.twitter.com/