jmstriegel / php.googleplusapi Goto Github PK
View Code? Open in Web Editor NEWCode for working with public user and relationship data in Google Plus
License: MIT License
Code for working with public user and relationship data in Google Plus
License: MIT License
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
I wonder if there is support for G+ Pages.
Quick question.
Any plans to make this project work with the now released official Google+ API?
I see the the user's +1 activity on websites is returned in the JSON response - would be good to have a way to extract all the websites a user has +1'd and store to database as well?
I am new to using Coder on Raspberry Pi and would appreciate some pointers.
Where can I find API library for peripherals e.g. UART, I2C, SPI?
How do I stream data to from browser to Pi server?
How do I steam data from Pi sever to browser?
Thanks
Hello,
As far as I can see, this is less of an actual API and more of a method of extracting data from GooglePlus streams and profiles. There's no way to post, authenticate or work with an authenticated user. Still, it's more than what Google offeres.
My issue is that in its current form the business logic (which should only relate to extracting the data) is mixed not only with the data model but also with the database-related functionality as well. It would be much nicer to have separate classes: those used to represent data, those used to extract/parse/export data from GooglePlus and those that map them to db objects and read/write them to db.
Regards
I mean an API to add a new post to the user's Google+ profile,
Are there any plans on doing anything like that?
Shai.
How to Get current logged-in user?
I guess is not working anymore since api went to read-only?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.