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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:19:40+00:00 2026-06-05T12:19:40+00:00

Using the Facebook API, you can get back the post ID of a Facebook

  • 0

Using the Facebook API, you can get back the post ID of a Facebook share, even if the user has not authorized your app.

The post ID is prefixed by your user ID, and separated by an underscore.

FB.ui({
    method: 'feed',
    name: 'People Argue Just to Win',
    link: 'http://www.nytimes.com/2011/...',
}, function( response ){
    // Response gives you :
    // { post_id: "[fbUserId]_346759642059572" }
});

To me it looks like Facebook is using this programmatically, rather than with the idea of providing us the userId out of the kindness of their hearts. But it’s extremely tempting to use.

I’m a little rusty on permissions – if there is a way to get back all the users that have liked/shared a specific URL, and not just a count, then this should be okay.

But the question remains, is it acceptable to use?

EDIT:

Now that I think about it, you can access the user ID by making an anonymous call to https://graph.facebook.com/[postId] but ONLY if the post was made public.

  • 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-05T12:19:41+00:00Added an answer on June 5, 2026 at 12:19 pm

    You can only cache user data if you have permission or it is necessary for the function of your app. Using the like button you can subscribe to edge.create and cache the response from the like.

    refer to: http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

    II. Storing and Using Data You Receive From Us

    You will only request the data you need to operate your application.
    You may cache data you receive through use of the Facebook API in
    order to improve your application’s user experience, but you should
    try to keep the data up to date. This permission does not give you any
    rights to such data.

    in my app i store the id of every page or user that is viewed to speed up page load times and count page views. Seems with in the scope of Policy as long as i am not sharing the info with 3rd parties or making public what a user has set to non public.

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

Sidebar

Related Questions

I am using Facebook API to get the Facebook Pages a user administers on
i'm using facebook graph api to get the current user friend list. i have
I am using Facebook API in my application to post messages to wall. Every
I'm using the Facebook API and the class produces this object. object(User)#4 (5) {
I am developing an iphone app and using facebook graph API. I need to
I am using the Facebook Graph API to get the users locale information (updated
I want to post an event to a facebook group using the graph API
Using the Facebook Graph API and the PHP SDK, I know that I can
i'm trying to get all the images from a facebook group using facebook API
I'm using the Facebook API Graph (C# & ASP.NET) to try to dynamically post

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.