Description
Tutorial on how to send a response from the Twitter API to a spreadsheet in Google Sheets
Summary
- Tips Sending a response from the Twitter API to a Google Sheets spreadsheet When working with the Twitter API, there are numerous reasons you may want to transfer a response payload to Google Sheets.
- This Tweet is unavailable This Tweet is unavailable.
- export BEARER_TOKEN='your-bearer-token' Inside of your code editor, create a function called connect_to_twitter where you can get your bearer token and return a header that you will pass into your HTTP request to the Twitter API.
- You’ll want to create a variable called headers which is where you call the connect_to_twitter function to set your authentication header.