Facebook PagesFacebookSocial

Publish a photo to your Facebook Page, or stage one

facebook.facebook.page.photo.create

Publish a photo to your Facebook Page, or stage one for a multi-photo post

Price
free제공업체 원가
Success rate
100%Last 30 days · 425 calls
Latency p50
2.3 sp95 5.5 s
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/facebook.facebook.page.photo.createPreview
Try online출시 예정Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

파라미터

needs pages_manage_posts and the Page token (select this Page on the connection). For a multi-photo post: call this once per photo with published=false, collect the ids, then call facebook.page.post.create with attached_media=[{"media_fbid": "<id>"}, …]. Meta caps a feed post at 10 attached photos

파라미터유형필수설명예시
경로 파라미터
page_id문자열필수numeric id of the Page selected on the connection123456789012345
  • 경로 파라미터
  • page_id문자열필수

    numeric id of the Page selected on the connection

    예시: 123456789012345

코드 예제

$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/facebook.facebook.page.photo.create' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.