5

I am using Yahoo PHP5 SDK and use it to fetch user contacts from table social.contacts which is a private data. On the example, from Delicious, it only shown fetching public data from YQL. May I know what parameter should I use to fetch private data with the class YahooYQLQuery and Execute()? I have tried to follow the example but following error message appear:

YQL query failed with error: "Authentication Error. The table social.contacts requires a higher security level than is provided, you provided ANY but at least USER is expected".

4

1 回答 1

2

YQL 代码示例页面上,最好的示例是 YQL 社交应用程序。(Delicious/OAuth 的东西现在已经过时了。)

此外,在创建您的 Yahoo API 密钥时,请确保选择“此应用程序需要访问私人用户数据”并在联系人下,根据您的应用程序选择读取或读取/写入。这可能会导致您的 YQL 失败。

于 2012-02-08T23:23:44.457 回答