duanhuilao0787 2013-09-16 22:09 采纳率: 100%
浏览 62
已采纳

如何在PHP中创建Quickbooks Online请求签名

I know QBO doesn't natively support PHP, but If I can get authenticated requests working, I can just use their API directly.

I've got the following pieces of data

appid
oAuth consumer key
oAuth secret key

I'm making an API call to this endpoint

https://qb.sbfinance.intuit.com/v3/company/<<my company id>>/item

I'm using googles oauth-php library to try to make this work. Here is the result

message=Exception authenticating OAuth; errorCode=003200; statusCode=401

I'm obviously missing details on what to do here, ex: how to send the app id along with this. Does anyone have any experience or examples of getting a signature using PHP?

Thanks!

  • 写回答

3条回答 默认 最新

  • dth34653 2013-09-17 11:08
    关注

    We have a complete QuickBooks PHP library that has a working OAuth implementation.

    You can download it here:

    There's an authentication example at:

    • docs/example_ipp_oauth.php

    And data access examples at:

    • docs/example_ipp_ids_5.php
    • docs/example_ipp_ids_6.php
    • docs/example_ipp_ids_7.php

    The Google OAuth libs should work also- it's a standard OAuth implementation and we've used the Google OAuth libs successfully in the past.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 MAC安装佳能LBP2900驱动的网盘提取码
  • ¥400 微信停车小程序谁懂的来
  • ¥15 ATAC测序到底用什么peak文件做Diffbind差异分析
  • ¥15 安装ubantu过程中第一个vfat 文件挂载失败
  • ¥20 GZ::CTF如何兼容一些靶机?
  • ¥15 etcd集群部署问题
  • ¥20 谁可以帮我一下问一下各位
  • ¥15 为何重叠加权后love图的SMD与svyCreateTableOne函数绘制基线表的不一致
  • ¥15 QFILHelper怎么恢复全字库,提示进程已完成,只能恢复分区文件
  • ¥150 求 《小魔指》街机游戏机整合模拟软件