Can you get a public Facebook page's feed using Graph API without asking a user to allow?

前端 未结 6 1002
遥遥无期
遥遥无期 2020-11-29 17:00

I\'ve never used Facebook\'s Graph API, or OAuth. I\'m simply trying to get a public Facebook page\'s feed using the Graph API, but it requires an access token. I don\'t wan

6条回答
  •  感动是毒
    2020-11-29 17:33

    The accepted answer does not provide a dynamic way of retrieving the profileId/pageId or even explain how to retrieve it. Check out my answer/question. From my experience, the accepted answer is also wrong in requiring the curly braces around the app-id and app-secret. I got an error when I included those and it worked with them out.

    It doesn't get any simpler than this.

提交回复
热议问题