jQuery Plugin To Display Google Plus Feeds On Your Website

jQuery Plugin To Display Google Plus Feeds On Your Website
File Size: 26.3 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

A jQuery social feed plugin which makes use of plusfeed.frosas.net to get and display Google+ feeds from any Google+ page or user profile on your website.

 Official statement from Google: "On March 7, 2019, all Google+ APIs and Google+ Sign-in will be shut down completely. This will be a progressive shutdown beginning in late January, with calls to these APIs starting to intermittently fail as early as January 28, 2019."

See also:

How to use it:

1. Include jQuery javascript library and jquery.kyco.googleplusfeed.min.js script at the bottom of the page.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="js/jquery.kyco.googleplusfeed2.min.js"></script>

2. Include the required stylesheet file in the head section of the page.

<link rel="stylesheet" href="css/jquery.kyco.googleplusfeed2.css">

3. Create an DIV container for the google plus widget.

<div class="gplus"></div>

4. Call the plugin on the DIV element and insert the user/page ID in the javascript.

$(function() {
  $('.gplus').kycoGooglePlusFeed2('111260779007626697866');
});

5. Customize the plugin with the following options.

$(function() {
$('.gplus').kycoGooglePlusFeed2({

  // google plus ID
  id: '116899029375914044550', 

  // Feed posts to show on load
  feedPosts: 2, 

  // Number of feed posts to show on "Show more" button click
  postsIncrement: 1, 

  // Max number of posts to pull before "Show more" will go to Google+, 
  // cannot excced 20 because of Google API in use
  maxPosts: 5,

  // Image size of the profile image, max size is 250
  profileImageSize: 150, 

  // Fade-in animation duration
  fadeSpeed: 0,           

  // Load images, videos, links and other attachments into feed?
  loadAttachments: false, 

  // Order posts by 'date' or 'popularity'.
  orderBy: 'date',

  // Sort order of the orderBy parameter.
  sort: 'asc',

  // Can also be set to German - 'de'.
  lang: 'en'

});
});

Changelog:

v2.1.4 (2018-11-02)

  • JS update
  • Demo Update

v2.1.3 (2016-05-09)

  • Update to allow shorthand user IDs.

v2.1.2 (2015-10-07)

  • Patch for mixed video content type.

v2.1.1 (2015-09-30)

  • Plugin now loads images, albums, articles and videos directly into feed.

v2.0.7 (2015-09-29)

  • Now supports HTTPS.

v2.0.4 (2014-11-15)

  • Added the 'orderBy' parameter.

v2.0.2 (2014-05-07)

  • Minor styling fix.

v2.0.1 (2014-04-12)

  • update

v2 (2014-04-11)

  • v2 no longer makes use of third party plugins or tools to retrieve the Google+ data.

2014-03-13

  • Added error handling for temporary 404s from Google's side.

This awesome jQuery plugin is developed by kyco. For more Advanced Usages, please check the demo page or visit the official website.