How to get Facebook feed data using React?

Are you looking to get Facebook feed data using React? You’re in the right place!
This tutorial will show you how to get Facebook feed data using React. We will use our Facebook feed API with React.
  1. Sign up FREE to SociableKIT.
  2. Create a Facebook feed widget.
  3. On the upper right, click Options > Data feed.
  4. It will show you the data feed of your Facebook feed in JSON format.
  5. Use the JSON data with React. The following is a sample code.

  const options = {

    method: \'GET\',

  };

   

  fetch([JSON_DATA_FEED_URL], options)

    .then(response => response.json())

    .then(response => console.log(response))

    .catch(err => console.error(err));

That’s it! Thank you for reading our tutorial about how to get Facebook feed data using React.

Need Support?

If you need help, feel free to chat with us in the live chat box on the lower right corner of this page. You may also use the chat box located here.

You may also email us at [email protected]

We’re happy to talk about how to add social media feeds to your website!