V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
roroco
V2EX  ›  问与答

优酷上传 api 调用问题

  •  
  •   roroco · 2014-03-06 19:49:13 +08:00 · 3904 次点击
    这是一个创建于 3740 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我运行下面:
    curl -XPOST https://openapi.youku.com/v2/oauth2/token --data-urlencode client_id=d58483641069b453 --data-urlencode client_secret=d660f3b635fe430ec182c697d60bb864 --data-urlencode grant_type=password --data-urlencode username=mayuyudeath --data-urlencode password=akb48death --data-urlencode redirect_uri=http://localhost:3000/oauth2/callback

    结果返回这个:
    {"error":{"code":130011205,"type":"OAuth2Exception","description":"The client is not authorized to request an authorization using this method"}}
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1462 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 17:31 · PVG 01:31 · LAX 10:31 · JFK 13:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.