FreshBooks API Libraries
- by Hristo
Hello,
I am posting this question as I couldn't find the answer (which is probably very easy, but apparently not for me) anywhere..
I am new to FreshBooks (no only the API) and I want to use it for some automatically generated invoices. I was trying to run some of the source code examples (the PHP and JS libraries in particular):
http://developers.freshbooks.com/api/samplecode/
The problem is that I get an error message:
"Connection error"
Do I need to set up anything else in the example files besides my API and token obtained from the FreshBooks site?
P.S.: I am running the examples from a local server but I don't believe that's the problem.
Thank you very much in advance!