I am trying to upload a photo to Facebook via the Graph API on a test account for my application. With only options, url, link, nameloading works fine, returning a valid photo id.
However, if I use an additional parameter tags, I get the following error:
{
"error": {
"message": "(#100) param tags must be an array.",
"type": "OAuthException",
"code": 100
}
}
I tried to provide a value for in tagsalmost every possible way, since I know that the Graph API is not simple (even the parameter urlthat is used to load a photo from a URL is not specified in the photoGraph API method );
One user ID
tags=100003919104407
CS
tags=100003919104407,100003919104408,100003919104409
tags=[100003919104407, 100003919104404,100003919104405]
tags=["100003919104407", "100003919104404","100003919104405"]
, , API Facebook
tags=[{"id":"100003919104407"},{"id":"100003919104404"},{"id":"100003919104405"}]
- / , , , .