3/30/2024 0 Comments Quickbooks desktop appsClientSecret = "QUICKBOOKS-CLIENT-SECRET" For example, in PHP your script would look like this: // It must include the query string in the redirection. For a desktop app, you must provide a script on your web server to redirect to " // It can be written in C#, PHP, or whatever desired. QuickBooks OAuth2 allows for an " callback URL for sandbox testing, // but not for production. Chilkat.OAuth2 oauth2 = new Chilkat.OAuth2() Afterwards it can be // repeatedly refreshed without user interaction, as shown in this example: Refresh Quickbooks OAuth2 Access Token. This is the way to initially obtain the OAuth2 access token. This is explained in the comments below. You'll need to add a line (or a few lines of code) to popup a web browser that navigates to a URL. This example is for desktop applicatons (it is not for code that runs on a web server). See Global Unlock Sample for sample code. This example requires the Chilkat API to have been previously unlocked. Demonstrates how to get a QuickBooks OAuth2 access token from a desktop application or script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |