Yahoo! Developer Network
Developer Solutions
Multi-Device
Media
APIs & Tools
Mojito
YQL
BOSS
YUI
Connected TV
PlaceFinder
Flickr
View all
Community
Forums
YDN Theater
Events
Blog
Search YDN
Search YDN
Search YDN
Sign In
Yahoo! Query Language
YQL Console
Code Examples
Documentation
Blog
Forum
Back to YQL Forum
Vote Up
0
Vote Down
YQL Social.profile Query Returning 403 Forbidden
Can someone tell me why the following query will work within the YQL Console:
'SELECT * FROM social.profile WHERE email="joestier3@yahoo.com"';
[link]
http://developer.yahoo.com/yql/console/#h=%20SELECT%20*%20FROM%20social.profile%20WHERE%20email%3D%22joestier3@yahoo.com%22
But the same query will not work when I run it using the PHP API?
Here is the response I get:
stdClass Object ( [query] => stdClass Object ( ... [diagnostics] => stdClass Object ( [publiclyCallable] => false [redirect] => stdClass Object (...)
[url] => stdClass Object ( [execution-start-time] => 434 [execution-stop-time] => 564 [execution-time] => 130 [http-status-code] => 403 [http-status-message] => Forbidden [content] => http://social.yahooapis.com/v1/users.email(jmcgraw77%40yahoo.com)/profile;start=0;count=10?format=json )
[user-time] => 564 [service-time] => 130 [build-version] => 24126 )
[results] => ) )
by
Michael Greiling
Dec 20, 2011
Report Abuse
2 Replies
searchdeck
Aug 6, 2012
Hi did you find a solution to this problem ?
i am running into the same issue
Report Abuse
Vote Up
0
Vote Down
Vinit
Aug 21, 2012
Hello,
It works in the YQL Console coz we are able to authenticate the user from the Yahoo Cookies, coz of the same yahoo.com domain.
And it doesnt work from the yahooapis.com coz the yahooapis.com domain doesnt get the yahoo cookies.
Thanks
Report Abuse
Vote Up
0
Vote Down
Login to reply
Ask a Question
Recent Posts
in YQL