Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6561911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:38:46+00:00 2026-05-25T13:38:46+00:00

I wanna implement Facebook connect into my application on android. But i am not

  • 0

I wanna implement Facebook connect into my application on android. But i am not sure how the flow of the server side and the mobile interaction should it be.

  1. Login thru Facebook Facebook
  2. Receive and send Facebook User ID to the server
  3. Check if the user ID does not exist and create a new user details by fetching data from Facebook via graph API
  4. Once a data is fetched create a new user in the database and generate a mobile login session and send it to the phone
  5. store the session id and use that as reference as to the user has logged in

What i want in the application

  1. Once the user is logged in, until he logs out he should be logged in
  2. should i store the basic details of the user locally so that i don’t need to fetch it each time ?
  3. what if i introduce my own login system among this how do i handle both ?

i understand its more of an implementation question and not programmatic

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:38:47+00:00Added an answer on May 25, 2026 at 1:38 pm

    The Facebook login part looks ok to me.

    Regarding the 1st feature you want in your application, you can store the user session may be in shared preferences file and check if every time while prompting for login screen. Erase the data after the user logs out.
    2. You have the session ,which is indirectly referencing to user details, you don’t need to fetch user details or store user details until you have the session. you can always get user details based on session id from the server.
    3. You might have to keep track of the gateway the user is using to login ,like if it’s a Facebook login session or your own login session.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to implement facebook Connect to my cakephp Application. i am using
I want to implement event management in my application and i wanna know what
I wanna implement something like in facebook: after left click on photo, it is
I wanna implement a fast algorithm for a homework, but using parallel processing for
I wanna implement a javascript like method in java , is this possible ?
I wanna add server controls by using javascript. The main purpose of why I
I wanna place two child un-ordered lists side by side. They are having Class
I wanna implement a download-and-install mechanism. I have a source link where my app
I wanna do some local developer tests of IIS 7 but I don't have
official android dev website says that:「You can implement your tab content in one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.