options = { url: "http://ogp.me/" }; const data = await ogs(options); const { error, html, result, response } = data; console.log("error:", error); // This returns true or false. True if there was an error. The error itself is inside the result console.log("html:", html); // This contains the HTML of page console.log("result:", result); // This contains all of the Open Graph results console.log("response:", response); // This contains response from the Fetch API 8
access to resource Redirect to authorization endpoint Show login and consent form Submit login and consent Redirect to client with authorization code Exchange authorization code for access token Send access token Request resource with access token Send resource Display resource 9