<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Arial;color: #000000;font-size: 10pt;">Dear Owncloud experts,<br>
<br>
I wanna use the Share API in my own app which is based on the App Framework approach.<br>
<br>
When the shared API does its AJAX request wthen calling "getItems" I get an error "No token found".
<br>
In the ajax request in JS it seems that there is no requesttoken submitted:<br>
<br>
$.ajax({type: 'GET', url: OC.filePath('core', 'ajax', 'share.php'), data: { fetch: 'getItem', itemType: itemType, itemSource: itemSource, checkReshare: checkReshare, checkShares: checkShares }, async: false, success: function(result) { ....<br>
<br>
<br>
How should that work? How can I set the requesttoken for the share api?<br>
<br>
Unfortunately there is nothing written in the doc about that issue.<br>
<br>
Kind regards,<br>
<br>
Johannes<br>
<br>
<br>
<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font face="Arial" size="2">
<div class="PlainText"><font size="2"><b>JOHANNES KROPF</b><br>
<font color="808080">Health & Environment Department<br>
Biomedical Systems<br>
<br>
<b>AIT Austrian Institute of Technology GmbH</b><br>
Viktor Kaplan Straße 2  |  2700 Wiener Neustadt  |  Austria<br>
T +43(0) 50550-4845  |  M +43(0) 664 235 1732  |  F +43(0) 50550-4803<br>
<a href="mailto:johannes.kropf@ait.ac.at">johannes.kropf@ait.ac.at</a> |  <a href="http://www.ait.ac.at">
http://www.ait.ac.at</a></font><br>
</font><br>
<font color="C0C0C0" size="2">FN: 115980 i HG Wien  |  UID: ATU14703506</font><font size="2"><span style="background-color:rgb(255,255,255)"><font face="Arial, sans-serif"><span style=""><br>
<a href="http://www.ait.ac.at/Email-Disclaimer" tabindex="0"><font color="C0C0C0"><span class="western"><u>www.ait.ac.at/Email-Disclaimer</u></span></font></a></span></font></span><a href="http://www.ait.ac.at/Email-Disclaimer" tabindex="0"><font color="C0C0C0">
</font></a></font><br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>