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

  • SEARCH
  • Home
  • 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 8556937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:27:44+00:00 2026-06-11T15:27:44+00:00

When my app starts I get the user’s facebook id. This works fine for

  • 0

When my app starts I get the user’s facebook id. This works fine for some people, but when other people get on I get weird id’s. In particular the id starts with 10000. I can’t figure out why I’m getting this kind of id for some people and not for others.
Would this be caused by a mistake in how I’m getting the id?

  • 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-06-11T15:27:45+00:00Added an answer on June 11, 2026 at 3:27 pm

    Facebook has a lot of users. They can assign user id’s in 64bit numbers. That is what you are seeing with those “different” ids. In order to allow everyone to be able to use these 64bit numbers even if they don’t have a 64bit system, Facebook returns these values as strings.

    You need to store your user_id values as strings. This will prevent numbers getting too big to hold as int values. In my experience, the best thing to do is store your user id values as varchar – this will also minimize problems with possible changes in the future.

    We don’t actually perform any mathematical operations on user_id values, so there is no need to store it as a number.

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

Sidebar

Related Questions

I got this app that records the user's Facebook ID in a MySQL table,
I've never done OpenGL, but I'm looking for some pointers on this particular question
How would you solve this? When the app starts, four objects of a class
I'm developing an app that starts a System.Threading.Timer which does some fairly rapid reading/writing
Have another issue here. Our app starts out with a tab activity. But, before
With iOS multitasking a running app's state is saved when the user starts another
I have created an app which starts with a login page, after entering some
When the user starts the app for the first time he gets a pop
My app starts up at Activity A which contains a ListView. The ListView can
When my iPhone app starts up, the main screen has a keyboard. Currently the

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.