Display Facebook Page Reviews On Your Website

Hey Developers,

Today we are going to introduce you with Facebook API’s. There are various Facebook API’s available which lets you pull Facebook data and display on your own website Today we are going to tell you about how you can display your Facebook page Reviews on your website with proper authorization.

So, Lets Start

To pull out Reviews from Facebook Page you require PAGE ACCESS TOKEN provided by Facebook.

To create Facebook PAGE ACCESS TOKEN follow these simple steps.

  1. Go to https://developers.facebook.com and navigate to tools & support present at top menu.
  2. Now login your Facebook Account and go to Graph API Explorer.
  3. Now Click on the Get Token Button and select Get Page Access Token Option and select the page for which you want to generate the token.
  4. Copy and Token and paste it at a suitable place for future use.


Now Upon creating token let’s move to coding part where we will request page reviews with help of authorized Access Token from Facebook.

Create a page ratings.php

We will use PHP Function file_get_contents to request the resources from Facebook.

Lets start


//Print reviewer name

//Print ratings

Reviews are :

So this the simple way how you can actually pull out reviews from Facebook Page and display it to your website to give more crediblity to your site.

We hope this tutorial will help you and will give youa sniff idea on how your can access resources from Facebook with proper authorization.

To get the working demo Download

You can also view our latest trending topics

Compress Images before upload in PHP

Disable Past Dates Or Upcoming Dates In PHP Datepicker

Because we believe Hurdles aren’t really Hurdles


  1. Silvio said:

    Great script, i loved it! Simple and objective.

    July 2, 2017
    • Saurabh Dubey said:

      You have to generate Access token to use any of the Facebook Graph API

      August 14, 2017

Leave a Reply

Your email address will not be published. Required fields are marked *