Jiangyi Qiu
Jiangyi Qiu
A possible workaround is just skip this section. ``` python def ifd_maker_note(e, offset, exif_file, mode, data): try: exif_file.make except AttributeError: msg = "Haven't got make yet. Skipping." raise JpegFile.SkipTag(msg) #...
使用用户名密码验证要申请吧。如果没有服务端可以尝试官方的sdk吧。 在 2012-7-22 下午4:59,"刘岩松" < [email protected] > 写道: > > @huacnlee 同问,我使用Resource Owner Password > Credentials的方式,通过用户名密码的形式获取AccessToken,但调试报错:{"error"=>"unauthorized_client", > "error_code"=>21326, "request"=>"/oauth2/access_token", > "error_uri"=>"/oauth2/access_token", "error_description"=>"client id > unauthorized to use this grant >...
关于这个问题。暂时可以使用以下代码实现。 ``` client = Weibo2::Client.from_hash(stored_token_hash) do |builder| builder.request :multipart builder.request :url_encoded builder.adapter :net_http end rep = client.statuses.upload content, Faraday::UploadIO.new(picture_path, 'image/jpg') ``` 对于使用中遇到的不便表示抱歉。
不好意思,没有再更新了已经