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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:18:35+00:00 2026-06-17T01:18:35+00:00

Apologies, I can only include 2 URLs as a new user so I have

  • 0

Apologies, I can only include 2 URLs as a new user so I have had to econonomize.

I am having a problem where the user object in Facebook’s Graph API is not returning a profile image correctly. I can only find one case of this problem. For all other uses I have tested it appears to be working correctly. The profile image doesn’t seem to have any privacy settings, since I’m able to view it normally from the profile page.

I am using Facebook’s Graph API to load the profile image for a user/page by putting this URL into an IMG tag:

https://graph.facebook.com/%5Bprofile-id%5D/picture?type=square

This has worked in all cases I found during testing, including pages and users. For one of our users deploying the app on a page, however, the URL is loading the question mark image, as though there is no profile image for the page. Their page clearly has a profile image, as you can see here:

http://www.facebook.com/EgansRestaurantPub

But if you click through to the Egan’s Calendar tab, you’ll see the question mark image. The image URL is the following, which returns the question mark:

https://graph.facebook.com/400488613342471/picture?type=square

I’ve checked the ID using the following link format, to ensure it’s the right ID for the page:

http://www.facebook.com/pages/%5Banything%5D/400488613342471

My first theory was that there were privacy settings on the profile image, but my personal account (as a non-fan of the page) is able to view the profile image. My only other idea is that perhaps it is because the page uses a short URL (EgansRestaurantPub) that doesn’t include the page ID. For similar pages, I found using the following worked:

[graphurl]/cocacola/picture

[graphurl]/BMW/picture

But when using the same method for my client’s page, it still returns a question mark.

Does anyone know why this is not returning the profile image for this page? This is the only page where I have found this problem.

I am using the PHP SDK and a bit of the JS SDK. I would prefer to avoid making another call to the API that would delay loading the page. That’s why I liked being able to throw the URL straight into the IMG tag. But I will make another call if there is no other way.

  • 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-17T01:18:37+00:00Added an answer on June 17, 2026 at 1:18 am

    It seems there is some kind of restriction as mentioned in the user document (picture field):

    access_token required for pages with whitelisting/targeting
    restrictions, otherwise no access_token required

    You just need to supply a user access_token for this to work:

    https://graph.facebook.com/400488613342471/picture?type=square&access_token=XXX
    

    To test this, you can directly get an access_token from the Access Token Tool.

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

Sidebar

Related Questions

Apologies if this was already asked but, I have had a look and can't
I have only basic XSLT skills so apologies if this is either basic or
Apologies if I've got the terminology wrong here—I can't think what this particular idiom
My apologies if this question has been asked before. I can see there are
Straightforward question - apologies if it is a duplicate, but I can't find the
I am not sure if I can post this sort of question (apologies in
DISCLAIMER: This question is only for those who have access to the econometrics toolbox
I'm using Silverlight 4 on IE 8. I have created a new Silverlight web
Apologies, this is kind of a convoluted question. I have a SQL query in
First of all my apologies to those of you who would have followed my

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.