Graph API似乎只支持app Center中的游戏App的群组创建和管理。
然而,我们希望将Facebook群组集成到我们的iOS应用程序(而不是游戏应用程序)中,并需要通过我们的应用程序创建新的群组和管理用户的能力。有没有办法通过Facebook/Graph API来做到这一点,或者我们可以利用另一种方法来开发一个集成的解决方案?
问题描述:我们正在开发一个iOS应用程序,其中一个用户(角色库)可以创建组并管理组。
• Admin user Register/Log in to Facebook via the app
• Admin user creates a group
如果我想找到用户数大于平均用户数的组,我添加了where子句,但我们不能在where中使用聚合...下面是我的cypher查询:
params.put("query", "name:*");
ExecutionResult result = engine.execute( "start n=node:groups({query})
match n<-[:Members_In]-x
with n,count(distinct x) as numberOfUsers
where numOfUsers>avg(numOfUsers)
retu
我在处理复杂查询时遇到了问题;下面是我的cypher查询:
params.put("query", "name:*");
ExecutionResult result = engine.execute( "start n=node:groups({query})
match n<-[:Members_In]-x
with n,count(distinct x) as numberOfUsers
where numOfUsers>avg(numOfUsers)
return n.name,numOfUsers ", params