images post as page facebook api examples

News Blog. Find your page name in the list, will look like this: "name": "Your page name". Related Hope this code helps to other people with the same problem! IE - posting as if you were the page. If the user access token used to retrieve the page access token is short-lived, the page access token will also be short-lived.


  • With the Pages API, people using your app can post to Facebook as a Page. For example, if a blog editor posts a new article on Facebook, it appears as an.

    GET /v/{page-id}/feed HTTP/ Host: . For example, if this story is a 'Your Page was mentioned in a post' story, the parent_id is the. GET /v/{page-id}_{post-id}/ HTTP/ Host:.

    For example, if this story is a 'Your Page was mentioned in a post' story, the parent_id will.
    Thanks bq Read More. You deserve glory. Success Stories.

    images post as page facebook api examples

    Stack Overflow works best with JavaScript enabled.

    images post as page facebook api examples
    Moises le vio la espalda a dios
    Viewed 89k times. This is assuming that you want your post to appear "from the page".

    images post as page facebook api examples

    Also Facebook says: The resulting page access token will not have any expiry time. No one will be able to comment on a Page Admin's comments on a Page post.

    Posts will appear in the voice of the page. I plan to write more articles about common laravel components.

    GET /v/{post-id} HTTP/ Host:.

    For example, if this story is a 'Your Page was mentioned in a post' story, the parent_id will be the. Finally, after a lot of tests, it worked, without the PHP SDK. This is the step by step guide: 1.

    Get permissions and the page token. First we'll look at the technical steps to create a post from your app, then the Facebook's Graph API represents pages, posts, comments, and other In this example the snippets will be in Python, but the concepts are similar.
    IE - posting as if you were the page.

    Video: Post as page facebook api examples Getting Started with the Graph API

    Read More. Ali Sheikhpour 6, 2 2 gold badges 19 19 silver badges 48 48 bronze badges. I got an answer to the extended token here if anyone is interested.

    You may be asked in this step to grant permissions to your app to access to your Facebook account, accept. It can contain optional text in the message parameter:. If a Page is unpublished only a Page or a Page Admin will be able to comment on an existing post.

    images post as page facebook api examples
    Post as page facebook api examples
    After that, we can save our PHP document, and try to execute it.

    images post as page facebook api examples

    Facebook for Developers Page. Home About.

    After your app posts Page content, it can delete or update the post. No one will be able to comment on a Page Admin's comments on a Page post. People following the page will see the post in their Newsfeed.

    1 Replies to “Post as page facebook api examples”

    1. I have a site made with PHP and when I submit a particular form in my admin area, I want to publish to my Facebook "fan page". Hope this code helps to other people with the same problem!