Login with Facebook and Twitter in web and iOS

I'm developing a web and iOS platform where users can sign up using email/password, or sign in with Facebook or Twitter. I want the users to share content within the app and in his social profiles (Facebook wall and Twitter timeline).

For the web part, I've got things quite clear. Once the user is logged in -no matter which method uses-, he can link his account to his Facebook or Twitter profiles. In the backend I've got a one-to-many relationship between User and Identity (the entity that holds the Facebook and Twitter API tokens and secrets), so that a user can have 0, 1 or 2 identities.

Now I'm building an iOS app for the platform (using an API developed in the backend) which I want to give the same login features. But let's imagine this scenario:

  1. The user signs in via web using email/password.
  2. Then, he links his account to his Facebook and Twitter profiles.
  3. Then he downloads the iOS app and logs in with his email and password.

My problem is that I don't know what to do to share content in Facebook and Twitter at this point. My API returns the API tokens and secrets for both identities, but I'm not sure what I should do with them. Facebook and Twitter SDKs provide methods to sign in via the app, but what if the user has linked his account outside the app? Even more, what if the user's iPhone device doesn't have his Facebook and Twitter profiles configured in the system? Is there a common-sense approach for this scenario that I'm missing?

Thank you all in advance

Category:ios Time:2018-12-12 Views:8

Related post

  • Would like to add login with facebook , google and Window live mail in my web application 2011-10-18

    I have developed one asp.net web application and now i would like to add new functionality as we can see today it in many website that user can login with facebook, google and window live mail id, i don't know about anything so please help me and pro

  • Replacing drupal registration and login with facebook login 2011-12-06

    I am trying to develop a custom module for my d6 site that lets users register and login to my site just as a regular user would using the existing drupal login and registration system. I looked at fbconnect module (which has not been updated to use

  • Login with facebook and storing important user information 2012-03-14

    The facebook "wave" has finally hit me and I see that it's now time to integrate the wonders of the Facebook API into my site. I'm a little worried about implementing a "Login with Facebook" button because my site stores information about each user,

  • Login with Facebook/Twitter - Authentication 2011-09-19

    I am thinking of adding a login with twitter OR facebook on my website. Although, I am in a doubt on how to do this. I have a normal registration system on my website, and I authenticate the users by sessions. If I wish to intregrate the "login with

  • When i have an email with a link to the web and try to connect i get a message "lost URL" 2012-07-08

    When i have an email with a link to the web and try to connect i get a message "lost URL". This started after i done some "clean up" on my computer, big mistake. --------------Solutions------------- Did you try setting IE as the default browser (Cont

  • When I try to login with capslock on the explorer crashes and hangs. 2012-08-26

    Original Title: login when I try to login with capslock on the explorer crashes and hangs. --------------Solutions------------- Hi Gaurav, Does this happen with all the websites that you visit? Let’s follow these methods and check if it fixes the iss

  • Java example how to login with Facebook account on GAE using OAuth 2012-03-05

    I searched a lot, read many blogs, articles, tutorials, but until now did not get a working example that I could use face book account to log into my application. I know that i have to use OAuth, get tokens, autorizations, etc... Anyone can share a e

  • What is the development effort for implementing "login with facebook" on large eCommerce site in JSP? 2011-01-26

    I am trying to scope out the development effort associated with implementing the "login with Facebook" option on our website. We operate a fairly large eCommerce travel website running on a JSP environment. We have already a user account feature, bas

  • Login with Facebook via Rails 2011-02-15

    As a relative newbie to Rails, I'm not sure how to approach this. I am looking to add a basic "Login with Facebook" feature to a practice site I am developing. I am stuck on two fronts: Most Rails plugins dealing with Facebook seem out of date or poo

  • Problem with login with facebook button 2011-03-23

    </html> <head> </head> <body> <iframe src="http://www.facebook.com/plugins/like.php?href=http://rgksugan.in/" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"><iframe> <div id="fb-roo

  • Login with Facebook API 2011-05-15

    I have successfully created login with Facebook API, when user logins auth token is returned. But how can I get user details from Facebook API? What kind of query I have to make to Facebook API to get logged in users name etc. details ? -------------

  • login with facebook account 2011-05-20

    we have created a website and which consists of registration and login, what i want to do is i want to add the facilities to the users to login with their facebook login, i am using php and smarty framework, i have google it but i cant find it anywhe

  • Facebook OAuth requires two clicks for "Login with Facebook"? 2011-06-15

    I'm just getting started using Facebook's OAuth for my website... when "Login with Facebook" is clicked, the Facebook page comes up properly for login. However, when redirected back to my site, "Login with Facebook" is still there instead of "Logout"

  • Code for login with facebook in rails3? 2011-08-10

    In my application we are providing user to login with facebook.Can any1 tell me the code for this? --------------Solutions------------- Check this app: https://github.com/holden/devise-omniauth-example/ Devise 1.2 now comes with facebook login suppor

  • login with facebook connect 2011-12-02

    I'm trying to add facebook oauth to my website. The "login with facebook" button hits the following URL https://graph.facebook.com/oauth/authorize?client_id=292861684087978&redirect_uri=http://localhost:8080/foobar/register/facebookLoginHandler

  • Login with Facebook does not redirects to .aspx page 2011-12-13

    I am creating a facebook application in asp.net. I want that when user login with facebook it should not redirects to Facebook.com but to the aspx page in my application. Currently, I have a page called Login.aspx and i am using a code for login, whe

  • Login with Facebook in grails, error accessing app after login 2012-02-09

    I want to provide login with Facebook functionality in my app I am using spring security core, spring security ui and spring security facebook in my grails app. It is allowing me to login using with facebook and the pop up is disappearing. and then w

  • Login with facebook connect 2 2012-02-25

    Update: Here is the page users who click my register with facebook button get sent to. <?php define('FACEBOOK_APP_ID', 'XXXX'); define('FACEBOOK_SECRET', 'XXXX'); function parse_signed_request($signed_request, $secret) { list($encoded_sig, $payloa

  • The login with Facebook keeps asking to authorize my app 2012-03-06

    I've read somewhere that offline_access is/will be deprecated. If I understood correctly this means that every time my user clicks on "Login with Facebook" in my page he/she will be redirected to the Oauth Facebook page and will have to authorize the

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 2.003 (s). 13 q(s)