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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:16:07+00:00 2026-06-05T15:16:07+00:00

In my application I need to know the user’s Facebook uid. I get by

  • 0

In my application I need to know the user’s Facebook uid. I get by using the following query using the Facebook API for IOS.

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               @"SELECT uid, name, email, pic, sex, timezone, religion, birthday_date, hometown_location, interests, about_me, locale, sports, relationship_status, languages, work, games, affiliations, current_location FROM user WHERE uid=me()", @"query",
                               nil];

….

fb_udid = [[result objectForKey:@"uid"] retain];
fbid = [fb_udid intValue]; // This int value is always 9-digit

With all users always get nine-digit identifiers. (Always nine-digit!)
(www.facebook.com/123456789)

My problem is this: there is a user that returns a uid of ten digits, and that has nothing to do with the right uid.

The real user id is 9-digits and instead says it is 10-digits.

Does anyone know why I do not resolve the identifier correctly?
Could it be that the user has removed the permissions to the application?
Does anyone know if all identifiers are nine digits facebook?

Thank you very much for your help

  • 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-05T15:16:08+00:00Added an answer on June 5, 2026 at 3:16 pm

    Does anyone know if all identifiers are nine digits facebook?

    No, of course they are not.

    And you shouldn’t treat them as numbers in your app, because there is possible danger of f.e. integer overflows corrupting them.

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

Sidebar

Related Questions

I have a Facebook application and I need to know everytime a user stops
I'm using IsolatedStorage in a Silverlight application for caching, so I need to know
I know enough to know that we need to get our application to deploy
I know nothing about PHP, but in my application I need to implement user
I am developing a VB application in which i need to know the native
I have a Cocoa application that records datestamps on events. I need to know
I have a simple text box in a WPF application. I need to know
I need a open source database for POS application( Swing ). I don't know
For my project(a web and iPhone based application) i need to collect a user's
In a Python application I need to know the current day. datetime.date.today() works well.

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.