File size: 792 Bytes
badf60c
869163b
 
 
 
badf60c
 
869163b
b50be83
e9835e5
 
badf60c
 
869163b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: upload_post_text
emoji: 🚀
colorFrom: indigo
colorTo: blue
sdk: static
pinned: false
license: mit
tags:
  - smolagents
  - tool
---

# upload_post_text

Publish (or schedule) a text-only post on social networks through Upload-Post: X, LinkedIn, Facebook, Threads, Bluesky, Discord, Telegram, Google Business, Slack, Mastodon and more. Returns a dict with the per-platform results, or a job_id when the post is scheduled or queued.

A [smolagents](https://github.com/huggingface/smolagents) tool for [Upload-Post](https://www.upload-post.com).

```python
from smolagents import load_tool
tool = load_tool("upload-post/upload-post-text-tool", trust_remote_code=True)
```

Set `UPLOAD_POST_API_KEY` in your environment. Source: https://github.com/Upload-Post/upload-post-smolagents