For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Cloudflare
    • GETpayload example
    • POSThttps://social-media-posting-dev.deao.workers.dev/post
        • POSTRefresh Token: https://oauth2.googleapis.com/token
        • GETGet Upload Status: https://www.googleapis.com/youtube/v3/videos?part=status,processingDetails&id={video_id}
        • POST1. Initialize Upload: https://www.googleapis.com/upload/youtube/v3/videos?part=snippet,status&uploadType=resumable
        • PUT2. Upload Video: {Location}
LogoLogo
CloudflareSocial Media PostingYou Tube

Refresh Token: https://oauth2.googleapis.com/token

||View as Markdown|
POST
/token
POST
/token
$curl -X POST https://graph.facebook.com/token \
> -H "Content-Type: application/x-www-form-urlencoded" \
> -d "client_id=string" \
> -d "grant_type=string" \
> -d "client_secret=string" \
> -d "refresh_token=string"
200Social Media Posting_YouTube_Refresh Token: https://oauth2.googleapis.com/token_example
1{
2 "scope": "https://www.googleapis.com/auth/youtube.upload",
3 "expires_in": 3599,
4 "token_type": "Bearer",
5 "access_token": "ya29.a0ATkoCc68UVhT_YJr416jYcKRIEYmqIQv20s3G7DV3efWKwiTzyXDntKCUv5-ctH9ycJ-ANujpYy8ni0CFZ0lsAZEnQk0lsEg6z33LLvqqzoHt17py4jedznVklFaD6eFK3hIsZKkPFqDXAwADM6HHpqW1e1QoMTlt_3Y4L3Yb3uTAgfNU1EPi7gAsEzHajIoYffml5YcaCgYKAfkSARESFQHGX2MiTzqDyxbzj7914yCuqzp6xw0207",
6 "refresh_token_expires_in": 582228
7}
Was this page helpful?
Previous

1. Create 9 Texts for IG Carousel https://api.cloudflare.com/client/v4/accounts/84160857b012477f501ba7dea513f89e/ai/v1/chat/completions

Next

Get Upload Status: https://www.googleapis.com/youtube/v3/videos?part=status,processingDetails&id={video_id}

Built with

Request

This endpoint expects an object.
client_idstringRequired
{env.YT_CLIENT_ID}
grant_typestringRequired
client_secretstringRequired
{env.YT_CLIENT_SECRET}
refresh_tokenstringRequired
{yt_refresh_token}

Response headers

Pragmastring
Alt-Svcstring
Expiresstring
Cache-Controlstring
X-Frame-Optionsstring
X-XSS-Protectionstring
X-Content-Type-Optionsstring

Response

OK
scopestringformat: "uri"
expires_ininteger
token_typestring
access_tokenstring
refresh_token_expires_ininteger
  1. Create 9 Texts for IG Carousel https://api.cloudflare.com/client/v4/accounts/84160857b012477f501ba7dea513f89e/ai/v1/chat/completions

Get Upload Status: https://www.googleapis.com/youtube/v3/videos?part=status,processingDetails&id={video_id}