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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:54:12+00:00 2026-06-08T02:54:12+00:00

I need to get page_tab_url by fql query. In this article: https://developers.facebook.com/docs/reference/fql/application/ they say,

  • 0

I need to get “page_tab_url” by fql query.
In this article: https://developers.facebook.com/docs/reference/fql/application/
they say, that I need “app access_token” but there is nothing that sticks to the topic on link destination.
Anybody have an idea, what is a name of permission, that I need to use in “scope”?

  • 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-08T02:54:13+00:00Added an answer on June 8, 2026 at 2:54 am

    I think this is the correct link (for now) that they wanted to link. This is a way to get an access token that authenticate as your application with the appid and secret, you don’t need extended permission for that.

    here’s a small php snippet to illustrate:

    $appid = '';
    $secret = '';
    
    $url = 'https://graph.facebook.com/oauth/access_token';
    $params = array(
        'client_id'     => $appid,
        'client_secret' => $secret,
        'grant_type'    => 'client_credentials',
    );
    
    $resp = file_get_contents($url.'?'.http_build_query($params));
    $parsed_resp = array();
    parse_str($resp, $parsed_resp);
    
    $app_access_token = $parsed_resp['access_token'];
    $resp = file_get_contents("https://graph.facebook.com/fql?q=select%20page_tab_url%20from%20application%20where%20app_id={$appid}&access_token={$app_access_token}");
    
    var_dump(json_decode($resp, true));
    

    with the $appid and $secret variables filled with real data, it produces this output:

    array(1) {
      'data' =>
      array(1) {
        [0] =>
        array(1) {
          'page_tab_url' =>
          string(30) "http://.../"
        }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

just to recap the process: I call https//graph.facebook.com/oauth/authorize?client_id=.. to get a code. This redirects
For example, the following URL shows the app in a tab: https://www.facebook.com/just.to.get.a.rep?sk=app_203403406338325 But when
I need to get a value from another page. But I get this error
I am creating a Facebook iframe application, and need to use some $_GET variables.
I need to get Current page Identifier and current module in Magento. I used
I need to get one page (can be cURL, or filegetcontent), get some info
I need to get some values of HTML web page. I want only the
have downloaded page by webbrowser and need to get mail address. But it is
I need to get information on loaded data percentage when UIWebView loads page. I
I need to get the height from top of the page to current scrollbar

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.