Last Updated on July 5, 2019
Filed under Plugins

Mixing API Platforms

Yelp API Error: The access token provided is not currently able to query this endpoint.
Yelp API Error: The access token provided is not currently able to query this endpoint.

Starting with BNE Testimonials Pro version 2.7. API platforms such as Facebook, Yelp, Google, etc. can now be shown using a single shortcode instead of multiple ones. In addition, the order can be set to random using the orderby="rand" option. This is a great benefit for those that use more than one review website and want to show all of them together within a single slider, masonry grid, or list.

Therefore, instead of this: (two individual displays)

Yelp API Error: The access token provided is not currently able to query this endpoint.
  • Chee Bonifacio

    Good dentist and take his sweet time with all patients & has all the technology in the office !

    Read More
  • Primo Guerrero

    Excellent service!
    Very accomodating accommodating Drs and Staff.
    Highly recommendable Dental Clinic

    Read More
  • Rupi Kaur

    Doctor Victor M. Is a wonderful, passionate, loving, caring doctor. I highly recommend this doctor. All staff is very friendly πŸŒΊπŸ‘ŒπŸ‘

    Read More
  • Shawn Bedwell

    very friendly staff. Makes sure they are giving you comfort during your operation

    Read More
  • Lea Gonzales

    Dr. Rosales is very knowledgeable in all aspects of Dentistry. He works with low income patients as well

    Read More
  • Ellen D. Generous

    I highly recommend Dr Rosales the BEST DENTIST I ever had. I had root canal 2x and I kept coming back even if I leave 25 miles away it's a worth to drive. Never I felt any pain the entire process. He has this "DENTAL VIBE" that you will not feel the pain with the needle when giving numbing agent and believe me when I say... I was so relaxed and even fall sleep during the procedure. He is very skillful, gentle and caring. The crew are friendly they treat you like a family. The place is easy to find, high tech, clean and parking is very convenient

    Read More
  • Mert Kiymaz

    Dr Rosales has been working on my problematic teeth for the last 6 months. I am so thankful to him. He is very gentle and caring. This office is ultra modern and the staff is very friendly. I drive all the way from Oceanside to see him. I would recommend Dr Rosales to everyone.

    Read More
It can now be this:Β (one combined display)

  • Ellen D. Generous

    I highly recommend Dr Rosales the BEST DENTIST I ever had. I had root canal 2x and I kept coming back even if I leave 25 miles away it's a worth to drive. Never I felt any pain the entire process. He has this "DENTAL VIBE" that you will not feel the pain with the needle when giving numbing agent and believe me when I say... I was so relaxed and even fall sleep during the procedure. He is very skillful, gentle and caring. The crew are friendly they treat you like a family. The place is easy to find, high tech, clean and parking is very convenient

    Read More
  • Chee Bonifacio

    Good dentist and take his sweet time with all patients & has all the technology in the office !

    Read More
  • Lea Gonzales

    Dr. Rosales is very knowledgeable in all aspects of Dentistry. He works with low income patients as well

    Read More
  • Rupi Kaur

    Doctor Victor M. Is a wonderful, passionate, loving, caring doctor. I highly recommend this doctor. All staff is very friendly πŸŒΊπŸ‘ŒπŸ‘

    Read More
  • Primo Guerrero

    Excellent service!
    Very accomodating accommodating Drs and Staff.
    Highly recommendable Dental Clinic

    Read More
  • Shawn Bedwell

    very friendly staff. Makes sure they are giving you comfort during your operation

    Read More
  • Mert Kiymaz

    Dr Rosales has been working on my problematic teeth for the last 6 months. I am so thankful to him. He is very gentle and caring. This office is ultra modern and the staff is very friendly. I drive all the way from Oceanside to see him. I would recommend Dr Rosales to everyone.

    Read More

Shortcode Usage

To show a mixture of different API's, you would build your API shortcode the same as before, but include this time include the additional source and id. There is not a limit to the number of API's you can mix together. Don't forget to increase the limit option if needed. API rules still apply though with Yelp only providing 3 reviews, Google and Yellow Pages providing 5 reviews and Facebook up to 200 reviews.

An important note here... Make sure that each reference to the source and id are separated by a , (comma). Also that the order of both match each other.

Example: source="yelp,facebook,google"

Example:Β id="yelp_page_id,facebook_page_id,google_id"

[bne_testimonials_api layout="thumbs" alignment="center" image_style="circle" source="yelp,facebook" id="yelp_page_id,facebook_page_id" orderby="rand"]

What about Badges?

And of course, it works with the Badge shortcode as well. The below badge is using the API to pull in the total and rating of Yelp, Facebook, and Google for this business and calculating the combined total and average. Before you would have had to do this manually or display each one individually using the API.

Since the badge will be a collection of review stats from different review sites, source branding will be set to the default styles. In addition, the heading, image icon, and link will need to be set manually if you would like them displayed.

BNE Creative DocsArrow Smile Dental
4.5 Stars - Based on 45 User Reviews
[bne_testimonials_badge api="true" source="yelp,facebook,google" id="yelp_id,facebook_id,google_place_id" image="path_to_image.jpg" heading="Your Business Name"]