0

Different results between console and my staged app

Hi,

I'm trying to use YQL to search for Yahoo! profile.  The YQL query I'm using is select * from social.profile where text = "foobar".  When I run this at the console I get a set of results.  When I run this from my own app, I get a proper response but an empty result set.  I'm assuming the console operates under my own credentials.  The app also operates with an OAuth session.  What would cause this difference?

I realize there's lots of details I'm leaving out, simply because I'm not sure what would be useful here.  I'm happy to provide more on request.

by
1 Reply
  • I hate to bump my own thread but am hoping that additional detail will spark a response.

    I initially implemented my app to using the PHP SDK provided here.  I modified it to use PHP's own OAuth lib and manual querying to see if it changed things, but it doesn't.

    The query I use for testing purposes is select * from social.profile where text = "mark slade".  When I run this in the console I get several matching profiles.    When I run this in my own app, this is the response I get:

      [query] => stdClass Object    (      [count] => 0      [created] => 2011-08-11T18:07:23Z      [lang] => en-US      [results] =>     )
    This discrepancy is what I'm trying to understand.  When I change the query to select * from social.profile where guid = me, I get identical results in the console and in my app.  Both show me the profile for my own account, which suggests that both are operating under the same credentials (as expected).

    Does anyone have any advice here?  I'm not sure how to get further assistance on this.

    Mark

    QUOTE(Mark Slade @ 4 Aug 2011 12:59 PM)
    Hi,

    I'm trying to use YQL to search for Yahoo! profile.  The YQL query I'm using is select * from social.profile where text = "foobar".  When I run this at the console I get a set of results.  When I run this from my own app, I get a proper response but an empty result set.  I'm assuming the console operates under my own credentials.  The app also operates with an OAuth session.  What would cause this difference?

    I realize there's lots of details I'm leaving out, simply because I'm not sure what would be useful here.  I'm happy to provide more on request.
    0

Recent Posts

in General Discussion at YDN