<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Alister<br>
<br>
I have my OAuth stuff working!!!!!<br>
<br>
After literally days of trying to get OAuth going in Delphi I gave
up. Instead I used the Xero provided framework for PHP and built
a PHP interface between my Delphi app and it. So instead of
doing; <br>
<br>
Delphi app -> Build XML & command -> OAuth sign ->
Http to Xero -> Response -> Delphi app<br>
<br>
I now have <br>
<br>
Delphi app -> Build XML & command -> My custom PHP
script -> PHP OAuth sign using Xero framework -> Http to
Xero -> Response -> My Custom PHP script -> Delphi app.<br>
<br>
Works like a charm. obviously I have had to provide my own
security between the Delphi app and my custom framework but that
wasn't too difficult. I strogly suspect the issues I was having
were related to Unicode Delphi and the non unicode code that I got
from Cameron. It was just too hard to debug as I couldn't see
what my output should be vs what it was.<br>
<br>
Cheers<br>
Rob<br>
<br>
<br>
<br>
On 11/07/2014 11:49 a.m., Alister Christie wrote:<br>
</div>
<blockquote
cite="mid:CAG3syj5OMBM9dgmqfrCGXaB6ouQkXuXdA7efqpsja6+WOcjrPA@mail.gmail.com"
type="cite">
<div dir="ltr">With regards to OAuth you could try using <a
moz-do-not-send="true"
href="http://www.tmssoftware.com/site/cloudpack.asp">TMS Cloud
Pack</a>. I've used it for connecting to TradeMe, although
still required a bit of work.
<div>
<br>
</div>
<div>Alister.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="" avgcert""="" color="#000000" align="left">No virus
found in this message.<br>
Checked by AVG - <a moz-do-not-send="true"
href="http://www.avg.com">www.avg.com</a><br>
Version: 2014.0.4716 / Virus Database: 3986/7832 - Release Date:
07/10/14</p>
</blockquote>
<br>
</body>
</html>