WeChat icon

WeChat

Create drafts and publish articles to WeChat Official Account

Overview

This node operation "Batch Upload Memes" fetches a specified number of memes from a given subreddit or from popular subreddits if none is specified, and uploads them to a WeChat Official Account. It allows filtering out NSFW (Not Safe For Work) and spoiler content, and setting a minimum number of upvotes for memes to be included. This operation is useful for automating the process of curating and uploading meme content to WeChat, saving time and effort for content creators or social media managers.

Use Case Examples

  1. Automatically fetch and upload 10 memes from the 'funny' subreddit, skipping NSFW and spoiler content, with at least 100 upvotes.
  2. Upload 5 random popular memes to WeChat, including all content regardless of NSFW or spoilers, with no minimum upvotes.

Properties

Name Meaning
Meme Count Number of memes to fetch and upload (max 50)
Subreddit Specific subreddit to fetch memes from (leave empty for random from popular subreddits)
Skip NSFW Content Skip NSFW (Not Safe For Work) content
Skip Spoiler Content Skip spoiler content
Minimum Upvotes Minimum number of upvotes required for a meme to be included

Output

JSON

  • summary
    • total_requested - Total number of memes requested to upload
    • successfully_uploaded - Count of memes successfully uploaded
    • failed_uploads - Count of memes that failed to upload
    • duplicates_skipped - Count of duplicate memes skipped
    • media_ids_ready_for_use - Array of media IDs of uploaded memes ready for use
    • usage_tip - Usage tip for using the media IDs as thumbnail media IDs when creating drafts

Dependencies

  • WeChat API credentials (appId, appSecret, baseUrl, timeout)

Troubleshooting

  • Ensure valid WeChat API credentials are provided; authentication failures will prevent meme uploads.
  • If no memes are uploaded, check subreddit name and filters (NSFW, spoiler, minimum upvotes) to ensure they are not too restrictive.
  • Invalid JSON or parameter formats will cause errors; verify input parameters especially for subreddit and meme count.
  • Network or API rate limits may cause some uploads to fail; retry or adjust request frequency.

Discussion