Generate PDF from URL WEB

फ्रीमियम
द्वारा printAPI | अपडेट किया गया 2ヶ月前 | Business Software
Health Check

N/A

सभी ट्यूटोरियल पर वापस जाएं (2)

2. How to print Twitter Feed to PDF

In this tutorial, I’ll show you how you can print to PDF cookie saved content, for example your twitter feed.

1. Make sure you have access to API

Visit first tutorial, and make sure you have access to API

2. Visit twitter, and copy your auth_token

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

3. Make a request with a cookie params

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.