Do you want to make this app and all its live features available to the general public? -> YES로 토글시킴
새로바뀐 api 페이지
The Facebook API lets you post to Pages you own automatically – either as real-time updates or in the case that you want to schedule posts. It could even be because you want your colleagues to post updates to a page, without giving them direct access. Here’s how to achieve posting to a page…
First off, you need to add the manage_pages and publish_stream permissions to your app. This will let the application access the pages you own, and give the application permission to post to these pages. Note that this permission will give an application access to all the pages you own – not just the one you want to use.
Next, you need the access_token for the page you want to post to. This can be done by making a simple API call, as follows:
Note that the response includes details about each page, including name, ID and access_token. Once you have the access_token, posting an update to your page is easy. Simply make another call to the API as follows:
Along with the API call, you must post at lease one of the following parameters:
message – the text for the status update, e.g. “Thanks for helping us reach 1.000 fans”.
link – A URL to a website you want to link to
picture – URL of an image you want to include in the update
name - The name of the link attachment
caption - The caption of the link (appears beneath the link name)
description - The description of the link (appears beneath the link caption)
For example, if I wanted to post a link to this article, my data would look like: