Update Podio profile picture using API -
we planning make podio out of office extension people can add start , end date , profile picture automatically changed out of office version in period.
we cannot see method in podio api documentation , tried solution per official comment here.
but method not working now. here error receiving
any on how this?
please try using https instead of http, , put instead of post.
curl -h "content-type: application/json" -h "authorization: oauth2 <my_auth_token>" -x put -d '{"avatar":<avatar_id>}' "https://api.podio.com/contact/<profile_id>" whole solution:
- get users current profile
get /contact/user/{user_id}(let's call resultp) - get users avatar
p.image.link(should url) - download , alter image
- as user: upload image - file id, let's call
image_id - as user:
put/contact/{p.profile_id}value{"avatar" : <image_id>}

Comments
Post a Comment