最近搜索


没有最近搜索

Opening authenticated image via API



已于 2024年7月23日 发布

Our Zendesk application connected to Twitter and sometimes our customer send image via Twitter DM. In Zendesk the image url will be shown as https://{subdomain}.zendesk.com/twitter/proxy/authenticated_image?conversion_id_str={conv_id}

 

We try to get the image by API call (to automate things). We already use Basic Authentication with user and password. But we always get this response saying that we are unauthenticated. If we try it in browser, we are able to open the image. Do you have solution for this Zendesk team? Thanks

 


0

2

2 条评论

I also have similar issue. Is there any update related to this issue? Thank you

0


image avatar

Oscar Mejias

Zendesk Customer Care

Hi Ranga -
 
The API endpoint you are trying to call is not an existing Zendesk API endpoint - to call it, the user that calls it, needs to be authenticated using the usual cookie authentication method.
 
DM images are private and require authorisation, so in order to show them, we essentially log into Twitter on the user’s behalf, download it and forward it on. In order to do that, you need to be logged into Zendesk.
 
I hope this helps! 

0


请先登录再写评论。

找不到所需的内容?

新建帖子