FreshBooks API Libraries
        Posted  
        
            by Hristo
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hristo
        
        
        
        Published on 2010-06-10T20:57:19Z
        Indexed on 
            2010/06/10
            21:03 UTC
        
        
        Read the original article
        Hit count: 277
        
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!
© Stack Overflow or respective owner