MitchellMcKenna / twitter-rss-google-apps-script

Google Apps Script to use Twitter API v1.1 to create RSS feeds of user's timeline, search results, user's favorites, or Twitter Lists.
61 stars 18 forks source link

Cannot find method setMimeType #12

Open MitchellMcKenna opened 1 year ago

MitchellMcKenna commented 1 year ago

Script fails:

Cannot find method setMimeType((class)). (line 111, file "twitter_rss"

Solution: Replace

.setMimeType(ContentService.MimeType.RSS);

with:

.setMimeType(ContentService.MimeType.TEXT);