最近两天无法上传照片 [英] Photo Uploading not working for the last two days

查看:50
本文介绍了最近两天无法上传照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚看到它正在为其他人工作.我不知道它是对所有人都起作用,还是对少数人都起作用.

I just saw it is working for others. I dont know whether it is working to everyone, or just working to few people.

最近两天我的编码突然不起作用.这是PHP图形api

My coding is not suddenly working for the last two days. It is PHP graph api

$facebook->api('/me/photos?access_token='.$access_token, 'post', $arguments);

这是它的上传方式.一切都没有改变.工作正常.最近两天都无法正常工作.

This is how it is uploaded. Nothing was changed. It was working fine. It is all not working for the last two days.

错误是

OAuthException: (#100) Cannot specify user tags without a place tag

$ arguments是一个数组,其中包含图像,标签(也是数组)和消息

$arguments is an array which contains the image, tags (which is also an array) and message

推荐答案

我有同样的问题!相同的代码,但在过去的24小时内无法使用.

I have the same problem! The same code, but don't work for the past 24 hours.

我通过动作脚本使用graph api.我通过HTTP POST请求发送带有参数Object的请求,该对象包含tag_uid,x和y.错误的请求如下:

I use graph api via Action Script. I HTTP POST a request with a parameter Object, which contains tag_uid, x, and y. Bad request just as following:

{
   "error": {
      "message": "(#100) Cannot specify user tags without a place tag",
      "type": "OAuthException",
      "code": 100
   }
}

API无法识别x参数和y参数.因此,我尝试使用api方法/photoID/tags .这种方法无需指定x和y参数即可工作,如果您确实指定了x和y参数,将无法正常工作.

The API didn't recognize the x parameter and y parameters. So, I tried to use the api method /photoID/tags. This way works without specifying the x and y parameters, if you do specify them, it won't work.

这篇关于最近两天无法上传照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆