This class can be used to retrieve data from a Google+ profile with PHP. It is rather a proof of concept than something for productive use.
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 15 commits ahead, 18 commits behind FabianBeiner:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache
README.md
feed.example.php
feed.php
googleplus.class.php
googleplus.example.php
googleplus_feed.class.php
rss2.class.php

README.md

GooglePlus-Scraper

v1.1.0

This class can be used to retrieve data from a Google+ profile with PHP. It is rather a proof of concept than something for productive use.

The technique used is called “web scraping”. That means: If Google+ changes anything on their HTML/JSON, the script is going to fail.

Read this!

I recommend not to use this script in any productive environment, just because it is not really tested. I've written this within two or three hours, that's it.

Yes, it is possible to extend the stuff available to fetch, but I'm bored now and won't go on.

Furthermore, be sure to read Google Terms of Service, especially section 5.3.

Imaginary things to do

  • Posting stuff to automatically on Twitter/Facebook (through Cronjob)

Contributors

License

Attribution-NonCommercial-ShareAlike 3.0 Germany (CC BY-NC-SA 3.0)

Example output (of googleplus.example.php)

Screenshot