访问 Meta Threads API 时出现 OAuth 错误

问题描述 投票:0回答:1

我不知道 OAuth 错误从何而来,当我使用错误的 ID 或访问令牌时,我会收到不同的错误。

curl -i -X POST "https://graph.threads.net/v1.0/user_id_placeholder/threads" -d "media_type=IMAGE" -d "image_url=https://i.postimg.cc/7LLYvNSq/pexels-ozanculha-17858988.jpg" -d "text=#BronzFonz" -d "access_token=placeholder"
{"error":{"message":"An unexpected error has occurred. Please retry your request later.","type":"OAuthException","is_transient":true,"code":2,"fbtrace_id":"AuXxSa8ftZnjb-aSSAuGr_O"}}
facebook-graph-api
1个回答
0
投票

我使用了错误的 ID。 你在这里得到正确的ID,

https://graph.threads.net/me?access_token=USER_YOUR_ACCESS_TOKEN

© www.soinside.com 2019 - 2024. All rights reserved.