Hi Alister

I have my OAuth stuff working!!!!!

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; 

Delphi app -> Build XML & command -> OAuth sign -> Http to Xero -> Response -> Delphi app

I now have 

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.

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.

Cheers
Rob



On 11/07/2014 11:49 a.m., Alister Christie wrote:
With regards to OAuth you could try using TMS Cloud Pack.  I've used it for connecting to TradeMe, although still required a bit of work.​

Alister.


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject: unsubscribe


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4716 / Virus Database: 3986/7832 - Release Date: 07/10/14



_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to