Reddit Widget
Update your widgets using integration services.
Use Zapier to update a widget when there's a new hot post on a subreddit.
Step 1: Create the Reddit Widget and its Content
Create your Reddit Content by importing the provided JSON. Learn more about how to do this on our support page.
Then, create a new Reddit Widget and set its default content to your new Reddit Content.
Step 2: Create a zap
Go to Zapier and add a new zap.
Select Reddit as the trigger and choose the triggering event.
This example uses the New Hot Post in Subreddit event with space as the subreddit. Feel free to choose whichever one you like.
Step 3: Choose the Update Widget action
Moving along on the creation of your zap, you now need to choose an action. Choose Pushcut as the app and Update Widget (with JSON configuration) as the Action Event.
The first time you will be prompted to link your account. Follow the instructions and scan the QR code with the Pushcut app (Account > Scan Code).
Select the Reddit Widget you created before from the drop-down and pass the following JSON object as the parameter. Notice that there are a couple of markers between curly braces on the code: these are the representation of the reddit post data provided by Zapier, such as title, number of upvotes, downvotes and comments. You can insert those by using the Insert data… drop-down provided by Zapier. For more information regarding Pushcut's JSON API, check our support page.
{
"content": "Reddit Content",
"inputs": {
"input0" : "",
"input1" : "",
"input2" : "",
"input3" : ""
}
}
Step 4: Finish the zap and you're done!
Click Test & Continue and verify that your widget updates correctly. Keep in mind that, because of how iOS controls widget updates, it may take a while (up to 15 minutes) before the widget is actually updated.
When all is set up to your liking, do not forget to toggle the On switch to activate your zap.
Once the zap is activated, all you need to do is add a Pushcut Widget to your home screen and configure it to display the Reddit Widget you created, by long pressing on it and choosing Edit Widget.
If you'd like, you can also make it open the subreddit when you tap it, by choosing Open URL on the On Tap field and then setting the subreddit URL.