fql クエリを使用して、facebooks グラフ API を簡単に呼び出そうとしています。
$.ajax({
url: 'https://api.facebook.com/method/fql.query?query=' + encodeURIComponent('select total_count,like_count,comment_count,share_count,click_count from link_stat where url=' + 'http://www.google.se'),
success: s,
error: e
});
エラー:Parser error: unexpected ':' at position 97.
URLをエンコードする方法を誰かが説明できますか?