An unofficial Rust API client for Facebook post uploads.
⚙️ Requirements
-
Create a Fecebook app on Developer Page
-
Your Facebook app must be in Live mode to make your posts visible for others.
-
Take ACCESS_TOKEN from Graph API Explorer. You can get 2 months token by pressing info "i" icon _
-
Add the desired permissions to allow your app to make posts.
pages_manage_engagementpages_manage_postspages_read_engagementpages_read_user_engagementpublish_videopermission, if you are publishing a video to the Page
-
Take PAGE_ID from page that you planning to do post.
-
More useful information you can find in Offical Facebook API Documentation Current version v19.0
🗣️ Usage
Post
use *;
use ;
const ACCESS_TOKEN: &str = "YOUR_ACCESS_TOKEN";
const PAGE_ID: &str = "YOUR_PAGE_ID";
async
Features
- Post
- Photo
- Video
- Live Video