MGF-1: Feed not displaying - Basic troubleshooting guide



Issue Information

Issue Type: Informational
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: mod Google+ Feed (MGF)
Resolution: Informational Only (2014-11-27 21:56:29)
Affects Version: Troubleshooting,
Target version: Troubleshooting,
Labels: Tips, Troubleshooting,

Created: 2014-11-27 21:50:55
Time Spent Working


Description
If you've configured mod_GoogPlus Feed but the feed doesn't appear, perform the following steps to help narrow down the cause.

- Set Joomla's Error Reporting to Development
- Access the page displaying the module

If you see something similar to the following

file(https://www.googleapis.com/plus/v1/people/nnn/activities/public?alt=json&maxResults=20&key=yourkey): 
failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in


It means that Google's API is refusing your request. To gain an understanding of why, SSH onto your server and do the following (replace $URL with the URL displayed in the error message)

curl -v "$URL"


The output should include some JSON detailing why the request was refused. Access your Google API console and correct the root cause.


Toggle State Changes

Activity


btasker added 'Troubleshooting' to Version
btasker added 'Troubleshooting' to Fix Version
btasker changed status from 'Open' to 'Resolved'
btasker added 'Informational Only' to resolution
btasker changed status from 'Resolved' to 'Closed'
Developer Console Instructions

(Correct at time of writing, but Google seem to like changing the interface quite regularly)


Setting up an Auth Key

https://console.developers.google.com


APIs & auth -> Credentials -> Public API Access -> Create New Key -> Server Key -> Accept requests from these server IP addresses -> set Server's IP(s) - one per line -> Create

Take the generated key and use that.


Making sure the Google+ API is enabled

https://console.developers.google.com

APIs & Auth -> APIs

If Google+ isn't at the top, showing as On type Google+ into the search box and enable it.