External API directly to database (incl. OAuth 2.0)

Hi,

New to the Bubble system so any help is much appreciated.

I’m building a social media analytics tool and want to visualise data I grab from social media APIs.

How can I call external APIs and store the data directly into the Bubble database to be called on at a different time. What is the standard way that you guys have built to do this?

Also is there a set way you guys recommend to integrate an Oauth API? Right now I will be using an external tool (Pathfix).

Finally, to store an individual call from API in the database (with standard metrics such as reach, impressions, likes, comments, etc) would I create an object/thing with those metrics as fields?

Thanks in advance,

Jai