In this tutorial, I’ll show you how you can print to PDF cookie saved content, for example your twitter feed.
Visit first tutorial, and make sure you have access to API
Visit twitter.com
If you using Chrome open developer tools(cmd+shift+i on the mac).
Go to Application tab
In left sidebar open Open Storage > Cookies > twitter.com
Find cookie auth_token and copy it’s value
Example of Request body:
{
“url”: “https://twitter.com”,
“cookies”: [
{
“name”: “auth_token”,
“value”: “<YOUR_TOKEN>”
}
],
“timeout”: 4000, // wait for content to load
"pageRanges": “1-2”, // print first two pages,
“inline”: false // to send result as link
}
Test this in rapid API And check results by yourself.