如何使用asp.net在fql facebook中编写where条件?

发布于 2024-08-19 06:54:22 字数 302 浏览 10 评论 0原文

我需要在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

書生途 2024-08-26 06:54:22

名称字段包含全名。它不能只是部分值。您确定完整值不是类似 '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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文