buffer-php-sdk icon indicating copy to clipboard operation
buffer-php-sdk copied to clipboard

forbidden status for createupdate

Open arbabi2010 opened this issue 7 years ago • 0 comments

Hi, I get below error when I want to send data


Update {#450
  +text: """
    someText \n
    goo.gl/P7fJLz
    """
  +profiles: array:4 [
    0 => "****"
    1 => "***"
    2 => "****"
    3 => "****"
  ]
  +shorten: false
  +now: true
  +top: false
  +media: array:1 [
    "photo" => "http://marasemonline.ir/upload/events/777/81158.jpg"
  ]
  +scheduled_at: null
}
$client->createUpdate($update);

and I get error

ClientErrorResponseException in BadResponseException.php line 43:
Client error response
[status code] 403
[reason phrase] Forbidden
[url] https://api.bufferapp.com/1/updates/create.json

arbabi2010 avatar Jun 16 '17 12:06 arbabi2010