Photo upload works though media endpoint. Uses multipart/form-data to upload photo and sends the received url through the photo parameter as form encoded POST.