Facebook and Instagram (the new META company) experienced a major outage today. This affected our Social Wall tool. This is a tool my company Advertise Me built several years ago to fill the gap of displaying social media posts on digital displays such as digital signage screens, websites, projectors for events and intranet sites.

Social Wall Website Display your Social Feeds

Luckily the outage didn’t last too long and the services were restored in a few hours. I thought I’d share and document some of the troubleshooting steps we use to debug the Facebook API for our Social Wall app.

CHECK FACEBOOK BUSINESS STATUS PAGE

If there’s an outage with the Facebook website https://downdetector.com.au/status/facebook/ or the API you can check the Facebook for Business Status page here: https://status.fb.com/

Facebook for Business Status Page The Simple Entrepreneur

You can expand the Graph API section and it will display the Platform status and statistics.

Facebook for Business Status Page Graph API The Simple Entrepreneur

If the Facebook Graph API platform has no issues then there may be a problem with your software apps.

You will need to troubleshoot the app or the Facebook Graph API as there may be different reasons why it’s not working.

If you’re planning to set up your own status page then you can try this tool:

FACEBOOK GRAPH API EXPLORER

The Facebook Graph API explorer is a must-have tool for any developer who is intending to integrate with Facebook. If you’re having permissions issues, or if you need to check if your access tokens are working then you need to use the Facebook Graph API. You should be able to determine which strings and fields you need to use.

Facebook for Developers Graph API Explorer The Simple Entrepreneur

In order to generate the Access token, you need to make sure you set the correct Facebook App and have the relevant permissions. You can then test the various API call requests and also choose which API version you want to use. Generally, the Facebook API has a life span of 2 years before Facebook forces you to upgrade to the next version.

An example of a code you can generate to test whether your API is pulling the correct information is as follows:

https://graph.facebook.com/v{verion number}/{facebook page}/?fields=posts{status_type,created_time,full_picture,message,from}&limit=5&access_token={access token}

This request will fetch the Facebook Page posts and images.

Facebook for Business Status Page Graph API Result The Simple Entrepreneur

ISSUE INVALID ACCESS TOKEN

If you’re getting an error message from the Facebook Graph API saying:

“message”: “Error validating access token: Session has expired on xxx

It probably means the access token you’re using is a short live access token. In order to use a long live access token you need to use this URL:

https://graph.facebook.com/%7Bgraph-api-version%7D/oauth/access_token?grant_type=fb_exchange_token&client_id=%7Bapp-id%7D&client_secret=%7Bapp-secret%7D&fb_exchange_token=%7Byour-access-token%7D

ISSUE PERMISSION PROBLEM

If you’re getting an error message from the Facebook Graph API saying:

   "error": {
      "message": "(#100) Object does not exist, cannot be loaded due to missing permission or reviewable feature, or does not support this operation. This endpoint requires the 'manage_pages' or 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.",
      "type": "OAuthException",

You will need to check your Facebook App account to make sure you have the right permissions. Make sure your Facebook app has the correct permissions:

Facebook App Permissions The Simple Entrepreneur

You can also test the permission in the Facebook Graph API explorer:

Facebook for Developers Graph API Explorer Permissions The Simple Entrepreneur

CHROME BROWSER DEVELOPER TOOLS

Another tool you can use is the Chrome Browser Developer Tools. To use this simply go to the developer mode by pressing Control – Shift – J or Control – Shift – I when you open the website you want to debug/troubleshoot. You can also go to developer tools by clicking on the menu button, Click on More tools and then Developer tools.

Chrome Developer Mode Settings The Simple Entrepreneur

Once you’re in the Developer tools, you can check the console for errors, or use some of the other settings to troubleshoot.

I hope this article helps and if you have the time check out Social Wall.

Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.

This field is required.

Subscribe to my newsletter where I will share my journey in affiliate marketing, business, technology, fitness and life in general. Hopefully, this motivates you to also change your journey in life.

This field is required.

If this article helped you in any way and you want to show your appreciation, I am more than happy to receive donations through PayPal. This will help me maintain and improve this website so I can help more people out there. Thank you for your help.

HELP OTHERS AND SHARE THIS ARTICLE


800Shares

LEAVE A COMMENT