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."
Hence, this plugin no longer works... it is now officially a dinosaur.
The best Google+ feed widget out there!
Download or clone the repo
Include the minified JS file after including jQuery (supports jQuery 1, 2 & 3):
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="jquery.kyco.googleplusfeed2.min.js"></script>
For default styling include the CSS file and put the loader.gif
into the same directory as the CSS file:
<link rel="stylesheet" href="jquery.kyco.googleplusfeed2.css">
Create a div
to hold the feed and then pull the feed into it by calling the kycoGooglePlusFeed2
method on it with the specified Google+ ID:
<div class="mydiv"></div>
<script>
$(document).ready(function() {
$('.mydiv').kycoGooglePlusFeed2('116899029375914044550');
});
</script>
What a customisation looks like:
<div class="mydiv2"></div>
<script>
$(document).ready(function() {
$('.mydiv2').kycoGooglePlusFeed2({
id: '116899029375914044550',
feedPosts: 2,
postsIncrement: 1,
maxPosts: 5,
profileImageSize: 150,
fadeSpeed: 0,
loadAttachments: false,
orderBy: 'popularity',
sort: 'asc',
lang: 'de'
});
});
</script>
Option | Description | Example |
---|---|---|
id |
The Google+ ID or username used to generate the feed. | "106189723444098348646" or "+LarryPage" |
feedPosts |
Feed posts to show on load, maximum is 20. | 3 |
postsIncrement |
Number of feed posts to show on "Show more" button click. | 3 |
maxPosts |
Max number of posts to pull before "Show more" will go to Google+, cannot exceed 20 because of Google API in use. | 20 |
profileImageSize |
Image size of the profile image, max size is 250. Also adjust CSS if changing the default. | 50 |
fadeSpeed |
Fade-in animation duration. | 250 |
loadAttachments |
Load images, videos, links and other attachments into feed? | true or false |
orderBy |
Choose what to order the posts by. | "date" or "popularity" |
sort |
Sort order of the orderBy parameter. |
"asc" or "desc" |
lang |
Language, defaults to English. | "en" or "de" |
By default you will have to include the loader image if you want a spinner to appear while the feed is loading.
View the Privacy Policy.
For bugs or improvements please use the issues tab or email [email protected].