Offline post to facebook page

Discussion in 'PHP' started by Fracisc, Jan 7, 2013.

  1. #1
    I own a facebook page where I want to be able to post from a cronjob, as the page. I used the offline access until now but now I see that I can post only once with an auht code, then it is dead.

    Is there any other way to accomplish what I need?

    Thanks!
     
    Fracisc, Jan 7, 2013 IP
  2. dixcoder

    dixcoder Member

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #2
    since fb has deprecated few functions you cannot directly store access_token for offline access hence facebook has given extended one to get extended offline access token you need to get via following url
    https://graph.facebook.com/oauth/ac...exchange_token='.$facebook->getAccessToken();
    running this will give you extended access token which will be valid for 60 days and can be extended accordingly.

    If you need commercial help for that you can pm me thanks ;)
     
    dixcoder, Jan 20, 2013 IP
  3. Fracisc

    Fracisc Well-Known Member

    Messages:
    3,670
    Likes Received:
    10
    Best Answers:
    1
    Trophy Points:
    195
    #3
    @dixcoder: I don't know how to PM you with this new theme, could you please contact me via PM?
     
    Fracisc, Jan 20, 2013 IP
  4. dixcoder

    dixcoder Member

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #4
    I have sent you pm I hope you got thanks ;)
     
    dixcoder, Jan 20, 2013 IP