How to Post to My Facebook Fan Page using PHP and Graph API?

Discussion in 'Facebook' started by swiminsoda, Aug 26, 2011.

  1. #1
    I want to to post the data from my webpage using cron job in PHP to my FB Fan Page ,How can i do that? Can you gave me example?
     
    swiminsoda, Aug 26, 2011 IP
  2. Junioreality

    Junioreality Active Member

    Messages:
    158
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    After becoming familiar with the Graph API check out Facebook's documentation for Pages http://developers.facebook.com/docs/reference/api/page/

    Here is the main page for Facebook's Graph API documentation http://developers.facebook.com/docs/api

    For PHP Development, check out this SDK, It will make your life much easier for interacting with Facebook using PHP https://github.com/facebook/php-sdk/

    Here is a link for how to configure your Facebook APP to be able to post on a Facebook Page http://blog.theunical.com/facebook-integration/5-steps-to-publish-on-a-facebook-wall-using-php/ (I did not follow this exact tutorial but slaved to figure it out myself, so let me know how it works for you)

    source: stack over flow
     
    Junioreality, Aug 26, 2011 IP
  3. elcuisi

    elcuisi Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, was looking for something for a work of school... really thank you very much:)
     
    elcuisi, Sep 2, 2011 IP
  4. dzflip

    dzflip Banned

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #4
    dzflip, Sep 5, 2011 IP