r/ifttt•
7aC97biN

Can I host the TypeScript file somewhere else and call it from IFTTT

Help Needed

Is there a way to host a TypeScript file somewhere else and call it from IFTTT platform?
I want to do this because then I can edit the multiple applets at once.

//IFTTT TypeScript File
var title = Reddit.newTopPostInSubreddit.Title;
var imageURL = Reddit.newTopPostInSubreddit.ImageURL;
var content = Reddit.newTopPostInSubreddit.Content;
var output = myFuction (title, imageURL, content);
Blogger.createPostBlogger.setBody(output);

//Hosted TypeScript File
Fuction (x, y, z)
{
//do stuffs
return output;
}

Posted Jul 21, 2017, 10:13 PM UTC · edited

62
Loading comments…