Buffer social media platform API
The easies way to interact with the Buffer API - https://buffer.com
Functionality
We are currently developing the wrapper. By now it is only able to schedule post and notifications for Instagram, Facebook and Tiktok.
Explanation
Buffer platform has 2 main functionalities:
- Schedule a POST that will be automatically published on the date and time you set.
- Set a REMINDER that will send a notification to your app at that specific time so you can post it manually by yourself.
Usage
I recommend you to visit the tests in the code to see how it works, but here you have some examples:
- Schedule a post of a reel on Instagram:
client = BufferClient(API_KEY)
# Y, M, D, m, s
DATE = (2026, 8, 7, 16, 50)
post = client.instagram.schedule_reel_post(
channel_id = INSTAGRAM_CHANNEL_ID,
video_url = VIDEO_ASSET_DIRECT_LINK,
text = 'Automated post from buffer-api python library 🚀',
# date
year = DATE[0],
month = DATE[1],
day = DATE[2],
hour = DATE[3],
minute = DATE[4],
# specific fields
do_share_to_feed = True,
is_ai_generated = True,
)
- Schedule a post of a picture on Facebook:
client = BufferClient(API_KEY)
# Y, M, D, m, s
DATE = (2026, 8, 7, 16, 50)
post = client.facebook.schedule_post_post(
channel_id = FACEBOOK_CHANNEL_ID,
image_url = IMAGE_ASSET_DIRECT_LINK,
text = 'Automated post from buffer-api python library 🚀',
# date
year = DATE[0],
month = DATE[1],
day = DATE[2],
hour = DATE[3],
minute = DATE[4]
)
- Set a notification reminder on Tiktok:
client = BufferClient(API_KEY)
# Y, M, D, m, s
DATE = (2026, 8, 7, 16, 50)
post = client.tiktok.schedule_reel_notification(
channel_id = TIKTOK_CHANNEL_ID,
video_url = VIDEO_ASSET_DIRECT_LINK,
text = 'Automated post from buffer-api python library 🚀',
# date
year = DATE[0],
month = DATE[1],
day = DATE[2],
hour = DATE[3],
minute = DATE[4]
)
Annotations
The Buffer platform doesn't make a copy of the resources in their servers (by now) when using the API, thats why you have to provide a direct link to the resource you want to upload.
That link has to be public and accessible at the time the post will be actually published. If the link is down, the scheduled post will fail.
Testing
You can test the functionality through our different test files. Add the environment variables you need in the .env file to test it directly with your real data from Buffer. See the .env.example to know what to include.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bufferpy-0.1.1.tar.gz.
File metadata
- Download URL: bufferpy-0.1.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc890dfbc26e74d50129ad50fb27db4862566633d5a9f711fcc01ef1c67caa79
|
|
| MD5 |
b06870a62c1aa995b8b73b3c75e9ea9b
|
|
| BLAKE2b-256 |
08d8a47c18d7c28dbdbae4b08bcaf4d83072b500d156ec8d82b84b027ccc0b3c
|
File details
Details for the file bufferpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: bufferpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bdf1bd9daf460840eb528b2d003404da8686d691a4c85e7104fb328af16d7c4
|
|
| MD5 |
cfc45d1efeafc8c8492f374961fd206a
|
|
| BLAKE2b-256 |
4d87e44a48a70db79dabd78065f20f94482ce73c4c6ed48124fc412e6357bb5b
|