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 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器