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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:32:51+00:00 2026-05-23T16:32:51+00:00

I have a facebook page with an iframe app. I want it to be

  • 0

I have a facebook page with an iframe app.

I want it to be able to work in the same way as http://www.facebook.com/pepsi
With the following user journey.

  1. User goes app tab on my page.
  2. User is prompted with a page, partial content, that invites to click the like button
  3. User clicks like and is shown full content.

all this is done without the client needing to login or authenticate.

My problem is that facebook is not passing me the user id.

I have tried
var_dump($_REQUEST);
and
var_dump($fb->fb_params);
to see if user id is there but nothing.

I dont think php sdk 3.0 or oauth works for signed_request

Can someone tell me how I get the user id from facebook without login?

thanks

  • 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-05-23T16:32:52+00:00Added an answer on May 23, 2026 at 4:32 pm

    Unless the user grants your application permission, the signed request will not contain their user id. See the docs for signed request.

    If the user has not authorized your application, your application will
    only be passed a subset of the above information.

    This includes the user object (although it’d be nice if Facebook specifically mentioned what data is or is not passed for unauthorized users – I banged my head against the wall for a bit trying to figure this out.)

    That being said, you don’t need a user to be authorized in order to "like-gate" a page.

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

Sidebar

Related Questions

Let's say i have a Facebook page tab (iframe) app that i want to
I have facebook iFrame app which is being displayed in company page. On same
I have this Facebook application profile page: http://www.facebook.com/developers/editapp.php?app_id=122313254494566#!/apps/application.php?id=122313254494566 which is associated with my iframe-based
I have an iframe facebook app currently running on a page tab. Unfortunately, when
When a user accesses my facebook app via http://apps.facebook.com/myappxxxxx , I want it to
I have an custom app (iframe app) on Facebook and a page tab on
i am using this widget to get my users to create accounts: <iframe src=http://www.facebook.com/plugins/registration.php?
Short version I have a facebook iframe app as a page tab on a
I have an (iframe) app hosted on a tag on a Facebook Page. The
I have an app called static HTML (https://apps.facebook.com/static_html_plus/?ref=ts) installed on a page of mine..

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.