I lost apps account on twitter - twitter

I lost my apps account on Twitter, with which I registered an application in apps.twitter.com for oauth. I don'y know the email. But my site uses this application to authorize users. If I create a new app, then users will lose authorization on my site. Twitter don't want to help me in the recovery of the account and the application. What to do?
I know twitter_id and twitter_secret sure.
Thank you!

Related

Ruby on Rails application to sign in to multiple domains

I'm planning to build a simple rails application. User would sign in to my app and would get a list of website links like facebook, twitter or gmail. If he clicks this link from my app, he won't have to input username/password to that site except for the first time.
What should be the approach? Can rails apps store username password and provide them through url? Or can it persist sessions forever so that those first time authentication tokens remain?
All those examples I've seen talks about 'sign in to my app with facbook, twitter etc'. I need just the reverse. Sign into multiple sites through my app.
Any help would be highly appreciated.
As far as I understand the problem, you need to use the OAuth. https://github.com/intridea/omniauth
The canonical screencast on the topic http://railscasts.com/episodes/241-simple-omniauth
Basically the idea is that you let your app to be authenticated on FB/Twitter/etc by the user. After that you'll get the user ID on an authentication token from the service, and then use those credentials to talk to FB/Twitter/etc APIs

QuickBlox Account User, API users and API application

I'm having a little confusion among these three.
Is account user the account with which I sign up QuickBlox as developer?
Is API users the end users?
What's API application? Do I create one by signing onto the QuickBlox web interface and create one there, and then use that to create the session in [QBAuth createSessionWithExtendedRequest:extendedAuthRequest delegate:self]?
Help appreciated, thanks.
Is account user the account with which I sign up QuickBlox as
developer?
Yes, it's Admin panel account
Is API users the end users?
Yes, it's your mobile application user
BTW, account user is also API user, you can use account user to login to your mobile app
What's API application? Do I create one by signing onto the QuickBlox
web interface and create one there,
Yes, you are right

User registration and authentication service for iOS app

I have completed my iOS app and now want to have user registration and authentication functionality.
When the user opens the app it must ask them to register or login and then when the app closes it logs out. I want to send their basic details to my server e.g. name, location.
Is this allowed my Apple and does anyone know of a service that I could use as appose to reinventing the wheel?
It is allowed by Apple.
There are apps on App Store that do not implement their own register/login mechanism. Those apps ask their users to login via Facebook. So any user who has a Facebook account, can login to your app using their FB credentials. You would have to use the iOS SDK provided by Facebook.
It is always better to provide multiple login options to your app user, instead of just relying on Facebook or any other provider. Allow users to login via GMail, for example.
Adding support for OpenID is another good option. OpenID is an open standard that describes how users can be authenticated in a decentralized manner, eliminating the need for services to provide their own ad hoc systems and allowing users to consolidate their digital identities. Users may create accounts with their preferred OpenID identity providers, and then use those accounts as the basis for signing on to any website which accepts OpenID authentication.

Registration for own site viat twitter

anyone knows if it is possible to do registration via twitter just like facebook register (http://developers.facebook.com/docs/plugins/registration/)?
it is not login via twitter. i need to store some basic information from the twitter user, eg, name and email, and then request user to choose their own username and password for my site.
Thanks!
Twitter doesn't have this functionality at all , they have #anywhere for integration for some Twitter features on your website. That's the closest there is to this. What you can do is register an account with the information you gather from an authenticating user, but the development of this would be up to you. There are no boxed up solutions right now from Twitter. There may be something third party but I'm not aware of any.
It's also "against the rules"
You may not use Twitter Content or other data collected from end users
of your Client to create or maintain a separate status update or
social network database or service.
https://dev.twitter.com/terms/api-terms

Auth to twitter with login/password

I'm currently using OAuth to authenticate people with their twitter (twitter gems) acount in my application. The problem is that for people who aren't connected or who have various accounts.
So that's my question, is that possible, to ask user their login/password to link their twitter account on my application ?
Thanks
It is no longer possible to connect to Twitter's API using Twitter credentials. Twitter's public stance on this is that you should -never- provide your Twitter credentials to anyone else, ever. This is part of their rationale for implementing OAuth.
Even if you had the user's Twitter password, you couldn't validate that it was actually their password, nor could you access their Twitter account with it through the Twitter API.
Your best bet would be to look into devise and omniauth. I've gotten it to work this way. Omniauth also allows to link to several accounts. Be it, Facebook, Twitter, etc.
I'm sure it's entirely possible to ask users for their Twitter login/password on your application. It's a very bad practice though, as OAuth avoids the need for client applications to ever touch a users credentials. I suggest setting up an authentication/authorization system that maintains a login/password and then allows connecting multiple OAuth accounts via an AuthenticationStrategy model or the like. Ryan Bates did a few Railscasts on the subject:
http://railscasts.com/episodes/235-omniauth-part-1
http://railscasts.com/episodes/236-omniauth-part-2

Resources