gpt4 book ai didi

php - oAuth with PHP (for google api)

转载 作者:可可西里 更新时间:2023-11-01 13:46:32 25 4
gpt4 key购买 nike

如何在 PHP 中使用 oAuth?我无法使用 pecl 安装 oauth 类,因为我使用的是共享主机。

我找到了

http://code.google.com/p/oauth-php/

但是没有客户端的例子。我想对 Google API 使用 oauth。

最佳答案

这是您的示例:http://code.google.com/p/oauth-php/wiki/ConsumerHowTo

您还可以通读 http://code.google.com/apis/gdata/docs/auth/oauth.html在 Google 上查找具体信息。

关于php - oAuth with PHP (for google api),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2084087/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com