buffer-php-sdk
buffer-php-sdk copied to clipboard
forbidden status for createupdate
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