authenticationfacebook-graph-apifacebook-appsscreencastfacebook-app-settings

Facebook Graph API - Page Public Content Access


I have created an App that fetches latest post data (images and text) from public Facebook page and display on my website. I have submitted my application for review but it has been rejected. I have seen examples and documents and everything requires a user login, but my API does not need login.

The user can click on the title of the page and the user goes to facebook.

"Feedback From Your Last Submission (6/28, 11:18pm) Your screencast doesn't show how the use of this permission directly improves the user experience in your app. Unfortunately, we also weren't able to determine this from testing your app manually. All permissions data must be visibly used within your app. We do not accept permission requests for data that you may decide to use later. Please see our Examples page to learn more about making and submitting a successful screencast. Learn more about testing permissions prior to approval."

Can anyone help me with this, how should I take a screencast? I dont know how to solve this issue, as my App does not violates any security rule still my Graph API rejected.


I was using graph API and this "pagename?fields=picture" to get the access tokken and the extended it to 2 months and placed it in the below function;

function get_facebook_post_pic_full_url($feed_id)
{   
    echo "<script>console.log( 'Debug Objects: " . $feed_id . "' );</script>";  
    $ursls = 'https://graph.facebook.com/'.$feed_id.'/?fields=full_picture,picture&access_token="Access Tokken"';
    $fb_act = json_decode(file_get_contents($ursls));
    return $fb_act;
}

And the below code is used to fetch and display image and caption and date;

 <div class="col-xs-12 col-sm-6 col-md-4 no-padding">
<div class="facebook_img">
  <?php
  $fb_feeds = get_facebook_page_feed();

  if(!empty($fb_feeds)):

        $feeds = $fb_feeds->data[0];
        $created_time = $feeds->created_time;
        $link = $feeds->link;
        $feed_id = $feeds->id;

        $full_arr = get_facebook_post_pic_full_url($feed_id);

        $full_picture = $full_arr->full_picture;
        $message = $feeds->message;
        $submessage = substr($message,0,75);

    ?>
    <!--<?php  var_dump($full_arr);?> -->
  <img style="width:405px;height:341px" src="<?php echo $full_picture; ?>" alt="facebook"/>
  <div class="fb_content"> <a target="_blank" href="<?php echo $link; ?>"><?php echo $submessage; ?></a>
    <dt><?php echo date('d/m/Y', strtotime($created_time)); ?></dt>
  </div>
  <?php endif; ?>
</div>

$feed_id is correct for sure. But the images or the post are not displaying anymore. I am not sure whether I need my App for review or not. :/ If anyone have steps to do that please let me know. Any help is appreciated. Also to apply for review I have no idea which persmissions should I use.


Solution

  • If you are going to access only a Facebook page you own you don't need to go through a review, simply use Roles in the Settings.

    Facebook review