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