forked from bashofmann/statusnet_gadget_2nd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statusnet_gadget.xml
29 lines (29 loc) · 1.35 KB
/
statusnet_gadget.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="status.net Gadget">
<Require feature="opensocial-0.9" />
<Require feature="views" />
<Require feature="opensocial-data" />
<Require feature="opensocial-templates">
<Param name="requireLibrary">templateLibrary.xml</Param>
</Require>
<Require feature="osapi" />
<Require feature="dynamic-height" />
<Require feature="oauthpopup" />
<Require feature="embedded-experiences" />
<OAuth>
<Service name="statusnet">
<Request url="http://dev.status.net:8080/index.php/api/oauth/request_token" param_location="uri-query" />
<Access url="http://dev.status.net:8080/index.php/api/oauth/access_token" param_location="uri-query" />
<Authorization url="http://dev.status.net:8080/index.php/api/oauth/authorize" param_location="uri-query" />
</Service>
</OAuth>
</ModulePrefs>
<Content type="html" view="canvas,profile" href="proxiedContent.php" authz="signed">
<script xmlns:os="http://ns.opensocial.org/2008/markup" type="text/os-data">
<os:PeopleRequest key="Viewer" userId="@viewer" fields="name" groupId="@friends"/>
</script>
</Content>
<Content type="html" view="embedded" href="embed.html">
</Content>
</Module>