0

行上出现错误Uncaught SyntaxError: Unexpected number

image[0][url]:photourl,

完整代码为:

function photoToPage(page)
{
    FB.api('/'+page.id+'/clubinfophotos:shares',  
           'post',
              {
                image[0][url]:photourl,
                image[0][user_generated]:true,
                access_token: page.access_token,
                message:msg
              },
           function(res) { console.log('Photo posted successfully'); }
    )
}
4

0 回答 0