我从很多网页上读到(例如:http://www.wellho.net/regex/java.html),他们都提到它可以代表任何空间字符.但是当我在Java中使用\时,它不是一个合格的表达式.
谁知道原因?
我试过"SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me() LIMIT 100",它返回81而不是100个帖子,然后我尝试了"SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me() LIMIT 50",并且期望它返回50个帖子,因为第一个查询返回81,但结果只包含43个帖子.
想知道LIMIT如何工作.
此外,这created_time对我不起作用,
"SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me() AND created_time > 1262196000 LIMIT 100"返回81个帖子,而"SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me() AND created_time > 1262196000"只返回5.任何想法?
这是我的代码:
FB.ui({method: "permissions.request", "perms": 'publish_stream', 'display': 'popup'}, function (response) {
console.log(response)
console.log(response.perms)
}, {scope: 'publish_stream'});
Run Code Online (Sandbox Code Playgroud)
结果总是'假',有人知道原因吗?
谢谢