Get social media post stats via API

Hey bubblers,

I am building a dashboard for digital creators.

I want to be able to authenticate social profiles for all popular social platforms and get live views, likes, comments and shares data via an API call.

Has anyone done this successfully? I have not found much conversation around this, weird as I thought this would be something lots of apps would want.

Cheers,
Elijah.

One of the toughest things to do nowadays. Not so much 5+ years ago. The platforms have really locked down access to that data because of how valuable it is.

You will need to configure manually oauth2 authentication using API Connector for all the social media provider you want to add.

After, you may need to configure webhook if you want to get live data (but it could be fetched when you need it too. This depend of what you want do to exactly).

For meta you should have a look at Graph API - Documentation - Meta for Developers

All other platforms have api docs as well. Most of them are rate limited or you have to pay (i.e. x.com)

I would say if you are able to implement one of those apis the next ones will be easy.

Most protected data will not only be something you need to sign up for, you will likely need to be waiting for quite a while to get approved.

I think there are intermediaries that your users will authenticate, and then you can get the data from that service.

If you need stuff that isn’t user sensitive/protected, sign up for rapid API and they’ll have all the data you need.

That might explain why it’s not so easy :smirk:

Thanks for the tip - now I need to study and understand what manual oauth2 authentication is. I’ve seen it around but never understood it.

Gotcha - thanks. Hopefully they are all similar in their framework.

This is interesting. I had a look at Ayrshare and Social Insider and both were not what I needed. I’ll check out Rapid API :+1:t4:

Has anyone done this or know anyone who has done this? Surly I’m not the first!

Hey I had a look at Rapid API and it doesn’t seem like there is an API for getting post statistics. I’ll need to have a deeper look but it doesn’t look promising.

Ayrshare can certainly solve this use case. I suggest you reach out to support@ayrshare.com if you want to learn more.

I have also been exploring ways to pull live social media stats, and it quickly became clear that things are a lot more locked down now compared to a few years ago. Between strict OAuth2 flows, heavy API rate limits, and in some cases paid access requirements, it definitely adds layers of complexity. I agree with others here — starting with one platform like Meta’s Graph API and getting familiar with authentication and data fetching is probably the smartest first step.