Twitter API: Log in Issue - twitter

I am trying to log in to my twitter account through the developer's section. But instead I get this error message
"sorry, we couldn't log you in with this twitter account. Double check your credentials and be sure your email address is confirmed".
I was able to log in to my normal twitter account..Can anyone help me with this ?I noticed Twitter API 1.0 has been deprecated.So I am trying to upgrade to API 1.1.

Go to https://twitter.com/account/resend_password, type in your email address, and click the submit button. You will receive an email that tells you what to do. Follow the directions in the email.

Related

Firebase authentication Twitter API Login "Nothing to see here"

We have an iOS app connected to Firebase that calls on the Twitter API for authentication. We are being redirected fine to the Twitter form to enter crendetials. After entering the account and password, our callback_url is not executed and instead we see “Nothing to see here”. Does anyone else is having this issue?. The Twitter Developer Portal is configured fine with Firebase's callback URL, also have the website, terms and policy fields set. I guess if anything wrong at the portal we wouldn't be redirected from the app to the sign-in form. Any ideas?
I logged with my twitter # username and it worked. However the problem persists if logging using email address.

How to allow access to logged in users email message while using Google plus sdk in ios?

I have got Google signin integration for my application. I successfully integrated it and by default i am getting username, usermailid, , user id and user authorization token id from sdk. Next thing i want is how to retrieve messages of Logged in user inbox. I went through the following links
https://developers.google.com/+/web/api/rest/oauth#authorization-scopes
https://developers.google.com/identity/protocols/googlescopes#replicapoolupdaterv1beta1
But still i am getting problems and confused in getting mail messages.
I think this is what you need
https://www.googleapis.com/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}
And I strongly recommend you to use Google Playground to pick the exact API you are looking for

Can we get email Id from Facebook application?

Can an application check if anybody is logged into Facebook application in mobile ,if logged in get the user email Id from that and use it in their application?
To get a logged in users email address, you would have to authenticate with the API and the user would have to approve you using the Oauth workflow.
You can display a customized login / connect button using the Facebook API but if I recall correctly, that is an iframe that is embedded in your page, and you never see the email from that.
tldr; No. You need to authenticate using the Oauth workflow and have the user grant you permission.
First you have to authenticate user and then you can get logged in user profile information. For that you have to use Facebook API. Please check below link.
https://developers.facebook.com/docs/facebook-login/ios/v2.2

Omniauth twitter login doesn't work

I am using omniauth to login with twiiter/facebook account in my site. It works great with facebook but it doesn't work with twitter. On checking log I found that twitter API doesn't send user email id back in response and in my application database email id is mandatory field.
Just wonder why email id is not sent back in response.
Is there any setting which prevents sending email id back in response?
Twitter does not provide email. This is because twitter privacy policies.
You can find the following information here: ( https://dev.twitter.com/docs/faq)
"The Twitter API does not provide the user's email address as part of the OAuth token negotiation process nor does it offer other means to obtain it."
You have to make an extra step (on your site), where you ask the user his email.
Regards
Ivangrx

facebook_session.user.email = nil?

I'm using authlogic_facebook_connect plugin on my RoR app. Looking to get extended permission from the user to acquire their facebook email address so that I can use this email to store in the database as their "myapp.com" registration email. This way a user can come to the site and click on the facebook connect button and be automatically signed up with my site as well. I know that I need to ask the user for their permission before I can get their facebook email, but I can't find anything around on how to do that..
(fyi I've tried simply getting email from facebook_session.user.email, but of course it's nil due to the permission restrictions)

Resources