0

yql security level in APP

I placed this code in the content section of a gadget

<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/markup">
<os:HttpRequest authz="oauth" key="yql1" href="http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20social.connections.updates%20where%20guid=me&format=json"/>
</script>


I get this error
The table social.connections.updates requires a higher security level than is provided, you provided ANY but at least APP is expected

If I use this code

<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/markup">
<os:HttpRequest authz="oauth" key="yql1" href="http://query.yahooapis.com/v1/yql?q=select%20*%20from%20social.connections.updates%20where%20guid=me&format=json"/>
</script>


I get this error

Please provide valid credentials. OAuth oauth_problem=\\\"signature_invalid\\\


I thought if I set the authz key for a template that would be enough for yql. What am I missing

by
1 Reply
  • <br><br><div class="quote"><div class="quotetop">QUOTE<cite>(Houyhnhnm @ 23 Jan 2011 4:41 PM)</cite></div><blockquote class="quotemain">I placed this code in the content section of a gadget<br><br><!--coloro:#2E8B57--><span style="color:#2E8B57;"><!--/coloro--><!--colorc--></span><!--/colorc--><br><br>I get this error<br><!--coloro:#FF0000--><span style="color:#FF0000;"><!--/coloro--> The table social.connections.updates requires a higher security level than is provided, you provided ANY but at least APP is expected<br><!--colorc--></span><!--/colorc--><br>If I use this code<br><br><!--coloro:#2E8B57--><span style="color:#2E8B57;"><!--/coloro--><!--colorc--></span><!--/colorc--><br><br>I get this error<br><br><!--coloro:#FF0000--><span style="color:#FF0000;"><!--/coloro-->Please provide valid credentials. OAuth oauth_problem=&#92;&#92;&#92;&quot;signature_invalid&#92;&#92;&#92;<!--colorc--></span><!--/colorc--><br><br><br>I thought if I set the authz key for a template that would be enough for yql. What am I missing</blockquote></div>
    0

Recent Posts

in YAP