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 に答える