Upload image to facebook fan page using API

前端 未结 4 830
温柔的废话
温柔的废话 2021-02-04 14:50

I am trying to upload an image through my application with Facebook Graph API to an album of my fan page. Although I provide the albumID like a parameter for uploading the image

4条回答
  •  醉梦人生
    2021-02-04 15:07

    I had the same hard problem that when I try to share a photo to a page ,I posted it as a user not as page .And when I try to post it in an album the photo posted in my profile. But thanks to thefreeman I solved the problem As thefreeman said , You must first take manage_pages permission then get Page Access Token as mentioned here then use this token instead of user access token in your app or website finaly ,to post the photos on the page wall"me/photos" or to post it in specific album in the page use "{album-id}/photos"

提交回复
热议问题