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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:49:46+00:00 2026-05-19T16:49:46+00:00

My problem is this. I can access the JSOD, for any browsers, regardless of

  • 0

My problem is this.
I can access the JSOD, for any browsers, regardless of cookies/cache using the graph API and will be granted permission. But when I try to use it with php sdk, it won’t show unless I’m logged in.

NOTE:

The user it’s access has been oAuth’d with ‘offline_access’.

This works from anywhere, anytime, regardless of me being logged in or not.

https://graph.facebook.com/113401955056/photos?access_token=195481353795312|21c8aad906641dc6f0894861-509590056|IEyCHjWm-3XFpX__eCtv0OMZUisectrezz

This doesn’t work unless I’m already logged into Facebook.

<?php
require_once ('../lib/facebook.php');

$app_id = '195481353795312';
$app_secret = 'secretzz';
$facebook = new Facebook(array(
  'appId'  => $app_id,
  'secret' => $app_secret,
  'cookie' => true,
));

  $photos = $facebook->api("/113401955056/photos?access_token=195481353795312|21c8aad906641dc6f0894861-509590056|IEyCHjWm-3XFpX__eCtv0OMZUisecretz");

  foreach($photos['data'] as $photo)
  {
    echo '<figure class="thumbnail">
    <a href="'.$photo['source'].'">
    <img src="'.$photo['picture'].'" />
    </a>
    <figcaption class="thumb_title">'.$photo['name'].'</figcaption>
    <!-- end of thumb -->
    </figure><!-- end of figure -->
    ';
  }
?>
  • 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-19T16:49:47+00:00Added an answer on May 19, 2026 at 4:49 pm

    As far as i know, you actually need the user token for off-line_access

    $session = $facebook->getSession();
    
    if ($session) {
        // you need to store the $session['access_token']; 
    }
    

    After that, you can get the user data in an off-line manner :

    $token =  array(
    
        'access_token' => 'TOKEN HERE'
    
    );
    
    $userdata = $facebook->api('/me', 'GET', $token);
    

    Here’s the whole article about it – http://eagerfish.eu/using-facebook-off-line-access-to-post-on-users-wall/
    I hope it helps.

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

Sidebar

Related Questions

I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
This problem crops up every now and then at work. Our build machine can
I can't seem to find an answer to this problem, and I'm wondering if
I can't seem to find a .NET answer to this problem, which I would
I need some ideas on how I can best solve this problem. I have
I'm sure there are different approaches to this problem, and I can think of
I can't quite figure out this syntax problem with a case expression in a
This is a specific variation on the can't connect problem. In my case, I've
This seems like such a trivial problem, but I can't seem to pin how
Ok, this has got to be a super simple problem. I just can't seem

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.