คู่มือการรวม
Upload-Post + Make Integration
Seamlessly connect your Upload-Post account with Make in 3 simple steps. Follow this visual guide to configure your API integration efficiently.
การกำหนดค่า API
จุดสิ้นสุด:https://api.upload-post.com/api/upload
วิธีการ:POST
หัวเรื่อง: Authorization: Apikey [YOUR_API_KEY] หมายเหตุ: Find your API key in your
Upload-Post Manage Api Keys
การกำหนดค่าข้อมูลฟอร์ม & การตั้งค่า Make.com
| ฟิลด์ | ค่า | จำเป็น |
|---|---|---|
| title | ชื่อวิดีโอของคุณ | ตัวเลือก |
| user | ชื่อผู้ใช้ของคุณ | จำเป็น |
| platform[] | tiktok | จำเป็น |
| video | ไฟล์ไบนารี | จำเป็น |
การตั้งค่า Make.com: Follow these steps in Make.com:
- Add an โมดูล HTTP: In your Make.com scenario, add an HTTP module and choose the "Make a Request" action.
- Configure the Request Settings:
- วิธีการ: Set to POST.
- URL: Enter
https://api.upload-post.com/api/upload. - หัวเรื่อง: Add a header with:
- Key: Authorization
- ค่า:
Apikey [YOUR_API_KEY]
- Set the เนื้อหาการร้องขอ: Change the body type to
multipart/form-dataand add the following form fields:- title: Set the value to your desired title (you can use a variable if needed, e.g.,
[YOUR TITLE]). - user: Enter your username the one you setted in upload-post (e.g.,
[YOUR USERNAME]). - platform[]: Set the value to
tiktok. - video: Attach the binary file (your video file). Make sure this field is mapped to the binary data you want to send.
- title: Set the value to your desired title (you can use a variable if needed, e.g.,
- บันทึกและทดสอบ: บันทึกสถานการณ์ของคุณและรันการทดสอบเพื่อให้แน่ใจว่าการอัปโหลดวิดีโอทำงานได้อย่างถูกต้องผ่าน API
ตัวเลือกการกำหนดค่าขั้นสูง
สำหรับการอัปโหลด Instagram
To upload to Instagram instead, simply change the platform value to instagram in your form data.
การอัปโหลดไปยังหลายแพลตฟอร์ม
To upload to both TikTok and Instagram simultaneously, add both platform values by creating multiple fields with the same name platform[] in the Make.com HTTP module.
Securely Storing API Keys in Make.com
For better security, avoid hardcoding your API key directly in scenarios:
- Create an คีย์แอป in Make.com
- เก็บ API key ของ Upload-Post ของคุณเป็นค่าคงที่
- อ้างอิงค่าคงที่ในส่วนหัวของโมดูล HTTP ของคุณ
- เมื่อแชร์สถานการณ์ ให้ใช้แบบแผนสถานการณ์ที่ไม่เปิดเผยคีย์ของคุณ
Example of referencing an API key constant in Make:
"headers": {
"การอนุญาต": "Apikey {{constants.uploadPostApiKey}}"
} Need more guidance? Check out this detailed forum post:
บทเรียนชุมชน Make.com