使用javascript (FB.api),我不能代表用户签入。(用户已将publish_stream权限授予我的应用程序)
因为facebook的API不断变化,困惑了一段时间。在网上搜索和阅读之后,我认为这是发布签入的正确方式。任何帮助都是非常感谢的。
var params = {
method: 'POST',
place: 107297282684980,
message: 'hi',
coordinates: {
'latitude': 22.204284439454,
'longitude': 113.54313260065
}};
FB.api(
'/me/checkins',
params,
function(response) {
if( response )
alert('Checkin Completed!');
});发布于 2013-12-17 04:22:02
它于2013年7月被否决。您应该检查在问题注释中提供的URL的更改。
并按照指示行事:
https://developers.facebook.com/docs/opengraph/overview/ https://developers.facebook.com/docs/opengraph/getting-started/
https://stackoverflow.com/questions/20606130
复制相似问题