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 8538531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:08:23+00:00 2026-06-11T11:08:23+00:00

Is there a maximum value to the id of a facebook user ? I

  • 0

Is there a maximum value to the id of a facebook user ?

I was using an SQL integer to store the value but it’s not enough as I’ve encountered an id with 15 digits.

I’m guessing there is none (would be logical…) and that the equivalent of a big integer is being used ? So should I just switch to varchar(255) ?

  • 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-11T11:08:24+00:00Added an answer on June 11, 2026 at 11:08 am

    Facebook once recommended that you store your user_id values as strings (can’t find the reference anywhere now). The documentation also says that the user_id value is a string.

    In my experience, the user_id can be a bigint(20) value but I think it’s a good idea to store it as a string to try prevent any possible future changes from messing with my applications. In any case, no numerical operations are really needed on the actual user_id; It’s just a unique identifier. Make sure you use it as an index in your database’s users table so that there will be no chance of duplicate user_ids.

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

Sidebar

Related Questions

Is there any code to find the maximum value of integer (accordingly to the
Out of range value for Integer column type does not truncate to it's maximum
As the title says, is there a way to make the maximum value of
Is there a way to programmatically retrieve the maximum float value for php. Akin
I am trying to find out the maximum value for an integer (signed or
I'm trying to get the maximum value of an integer field in a table.
Is there a way in VBA to programmatically get the limits (minimum value, maximum
There is an ArrayList which stores integer values. I need to find the maximum
make C++ functions or structs, classes (using meta-programming) determining maximum value for signed and
Is there some tag or function that allows to get the maximum value 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.