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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:12:33+00:00 2026-06-17T11:12:33+00:00

I am getting the user’s facebook image with: https://graph.facebook.com/#{omniauth.uid}/picture?type=large But how can I check

  • 0

I am getting the user’s facebook image with:

https://graph.facebook.com/#{omniauth.uid}/picture?type=large

But how can I check if that is the Facebook Default image? If it is, I have my own image I would like to use.

I am using Ruby on Rails and Omniauth. So if Omniauth provides anything that would help this situation, let me know.

UPDATE

When I go to my own page using the link above, but my User ID, if I have no profile image set, I get redirected to this file.

https://fbcdn-profile-a.akamaihd.net/static-ak/rsrc.php/v2/yL/r/HsTZSDw4avx.gif

I had a friend also check, and he got the same page.

So I could “temporarily” check against that filename, but clearly that would be a horrible practice. If Facebook changes their default image, everything fails. Any flag to tell me if the user has an image set or not?

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

    Use the is_silhouette boolean. From the documentation:

    You can add a redirect=false to the HTTP request to get the location instead of the actual data. This call:

    <img src="https://graph.facebook.com/shaverm/picture?redirect=false"/>
    

    will return JSON-encoded data describing the location of the picture. url is the location of the image and the is_silhouette boolean indicates whether or not the object has set a picture.

    {
        "data": {
            "url": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash4/372183_100002526091955_998385602_q.jpg",
            "is_silhouette": false
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The way i can getting user input is Read application as follow: Read(variable[,filename[,maxDigits[,option[,attempts[,timeout]]]]]) But
I'm currently getting the user's birthday from Facebook and storing it in the standard
I am getting a user's posts with the Facebook API like so: FB.api('/me/home', function
I am getting parameters from user ./inputControl.sh param1 param2 ... I want users can
As you can see below I'm not getting any user info when I do
I am trying to get user album by using GRAPH API with function facebook.request(contact.getFacebook_id()+/albums)
I'm currently getting user input from a very large form as an XML document.
I'm currently getting user input from a very large form as an XML document.
I'm integrating my web-based game to a Facebook Game . Facebook login, getting user
I'm building an Access database and I'm getting a User-defined type not defined error

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.