Open recoverjp opened 10 years ago
$this->sendSetProfilePicture("http://i.imgur.com/ZkAtzhr.jpg");
When I try to send via URL with debug set to true, the following appears:
rx iq from="s.whatsapp.net" id="sendstatus-1410539422-1" type="error" rx error code="406" text="not-acceptable"></error rx /iq
But when i send $w->sendSetProfilePicture("demo/venom.jpg") it works.
profile pictures must be square, JPG and at least 350 x 350 pixels.
$this->sendSetProfilePicture("http://i.imgur.com/ZkAtzhr.jpg");
When I try to send via URL with debug set to true, the following appears:
rx iq from="s.whatsapp.net" id="sendstatus-1410539422-1" type="error" rx error code="406" text="not-acceptable"></error rx /iq
But when i send $w->sendSetProfilePicture("demo/venom.jpg") it works.