Taging pictures from facebook API : I think some Array 'Key' Or Json Encode Is the cause

后端 未结 1 1412
再見小時候
再見小時候 2021-01-27 13:44

I am trying to post a picture on facebook by the graph API ,How ever I am unable to post that. I get this error

Array ( [error] => Array ( [message] => (#

相关标签:
1条回答
  • 2021-01-27 14:12

    The problem is x,y coordinate where you want to add tags.

    x and y should be as a percentage offset from the left ( for x ) / top ( for y ) edge of the picture i.e.

    x and y should be in between 0 - 100.

    Facebook Documentation

    You can use rand() function

    x = rand ( 0, 100 );
    y = rand ( 0, 100 );
    

    May be this will help you out. :)

    0 讨论(0)
提交回复
热议问题