百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

php.googleplusapi

> 编程语言
开源

在 Google Plus 中与公共用户和关系数据合作的代码

175 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在 Google Plus 中与公共用户和关系数据合作的代码

An unofficial Google Plus API. Right now this consists of the following:

PHP Classes

GoogleUtil - functions for parsing the almost-JSON that Google Plus produces PlusPerson - a person entity in Gooogle plus that can be stored to a local mysql DB PlusRelationship - a relationship between people in Google plus. This does not contain any circle context PlusPost - a post to a user's activty stream PostAttachment - encapsulates a media attachment to a post

Tests

tests/plususer.php?plusid=xxxxxxxx - demonstrates loading and caching users, as well as traversing the social graph tests/plusactivity.php?plusid=xxxxxxx - demonstrates loading and caching public posts from a user's activity stream

API

api/getplusperson.php?plusid=xxx - JSON(P) API for retrieving profile data for a person. api/getplusposts.php?plusid=xxx - JSON(P) API for retrieving post activty for a person.

Installation

  1. Copy includes/config.inc.editme to /includes/config.inc
  2. Edit config.inc with your path, url and mysql information
  3. Import the sql tables in the sql/ subdirectory

TODO

  • create getters for the rest of the data fields into the PlusPerson and PlusPosts objects
  • do something interesting with all of this

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言