如何使用asp.net在fql facebook中编写where条件?
我需要在 asp.net 中使用 facebook dll 执行 fql。 fql 为 ="select name, profile_url from user where name = 'suresh'"。当我执行此操作时,我无法得到响应。我只得到空字符串。
string response = fbService.fql.query("从用户中选择名称,profile_url,其中 name = 'suresh'");
但是如果我按 id 搜索我可以获得回复..
那么,如何按名称搜索..
谢谢 r.eswaran。
I need to execute a fql using facebook dll in asp.net.
The fql is ="select name, profile_url from user where name = 'suresh'". When I execute this i could not get the response . I am getting only empty string.
string response = fbService.fql.query("select name, profile_url from user where name = 'suresh'");
but if i search by id i can get response..
so, how to search by name in that..
thanks
r.eswaran.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
名称字段包含全名。它不能只是部分值。您确定完整值不是类似 'Suresh Lastname' 的内容吗?
我建议您使用 Facebook API 测试控制台来测试查询。可以在以下位置找到:
http://developers.facebook.com/tools.php
选择“fql.query”作为的方法。它将出现一个字段,您可以在其中输入 FQL 查询进行测试。
The name field contains the full name. It can't be a just a partial value. Are you sure that the full value isn't something like 'Suresh Lastname' ?
I recommend you use the Facebook API Test Console to test out the queries. It can be found at:
http://developers.facebook.com/tools.php
Select "fql.query" as the method. It will come up with a field where you can enter your FQL queries to test.