Google photo authentication issue
-
Previously, I successfully validated and used very well
This morning, I discovered the error did not display the image. And I proceeded to authenticate again. But failed and received an error
When I authenticate, I receive the following message:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.The author helped me solve this problem, Thank you very much
-
This mod_security is typically caused by your server blocking some URLs. A search on Google shows this. The right way to fix this might require the help from your web hosting – they can help you track what is being blocked.
If your host is unable to help you you can try following the workaround documented here.
@sayontan
I thank you for answering the question. However, I do authenticate the way you guide, I have encountered some difficulties as follows:On the left, under “Step 1 Select & authorize APIs” in the box next to “Authorize APIs”, put in https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing https://picasaweb.google.com/data/
I can not find: https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing
I can only find: https://picasaweb.google.com/data/ and then click “Authorize APIs”.
after confirming the next steps provided to me “Refresh token” and the “Access token”. But when I copy the “Refresh token” and save it under Photonic → Settings → Google Photos → Google Photos settings → Refresh Token (for Back-end / Server-side Authentication).
then I checked it still doesn’t workI can not find: https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing
You have to copy-paste those into the field where it says “Input your own scopes”
@sayontan
I thank you for answering the question.
I did as you instructed, then it shows up on the bulletin board: This application has not been verifiedThat is fine – you can proceed even with that warning.
If you are on Chrome, click on the link that says “Advanced”, and then proceed to the URL
-
This reply was modified 7 years, 2 months ago by
Sayontan Sinha. Reason: Added clarity
@sayontan
I thank you for answering the question.
I have continued to take the next steps to receive Refresh Token. However when I entered
Photonic –> Helpers –> Google Photo –> Find my Albums : It does not give results
Photonic –> Helpers –> Picasa Album ID Finder —> Enter account: It does not give results
Previously it worked normallyThe Picasa album finder will not work, because Google deprecated the Picasa API today.
Did you save the refresh token in your options under Photonic → Settings → Google Photos → Refresh Token (for Back-end / Server-side Authentication)? If you have done that, this is a step that works for ALL users, so I am not sure why it wouldn’t work for you.
What happens if you try to create a gallery via the editor, by clicking on “Add / Edit Photonic Gallery”, then select “Google Photos”?
What happens if you simply put in a gallery this way on your page?
[gallery type='google' view='albums']Can you share a URL where you have the Google Photos shortcode activated?
@sayontan
I do as you guide and short code here:
[gallery type='google' view='albums' access='all' crop_thumb='crop' columns='3' main_size='1600' thumb_size='150' popup='hide' layout='square']But when displaying the web, the error message is as follows:
Failed to get data. Error:
Request had insufficient authentication scopes.
Request had insufficient authentication scopes
This would potentially occur if the Refresh token was generated without putting in all the scopes.
Please ensure that you are putting in
https://www.googleapis.com/auth/photoslibrary.readonly https://www.googleapis.com/auth/photoslibrary.sharing https://picasaweb.google.com/data/
(i.e. all 3 scopes) in the scopes field before you click on the button to authorize the API.Thank you! I have done it perfectly
Great! I am marking this resolved.
Hello! The Picasa API Depricated in my site.
When I try the 4 step in Authentication:
“You will be shown what permissions are requested by your API key. Note that for Picasa authentication only the first one is shown. Google Photos requires the two additional ones. You can allow access to the apps” a wrong an error screen is displayed:
https://www.santaquiteriahuete.com/wp-admin/admin.php?page=photonic-auth&source=google&state=a2d2510132349d4fded67472eadc2d51::%252Fwp-admin%252Fadmin.php%253Fpage%253Dphotonic-auth&code=4/2QBE-4b04fTQnjrgkkNwm4Srz69ezwoy69h4o3e_T2Vz_r3rRH39jhDTa52WgrrRzI-9d7l7SbQrFI4CrqDgeu8&scope=https://www.googleapis.com/auth/photoslibrary.readonly%20https://www.googleapis.com/auth/photoslibrary.sharing%20https://picasaweb.google.com/data/
What’s the matter?
Thank you a lot!
@santaquiteriahuete,
Can you start your own thread please? Also, please provide me with a screenshot of the error that you are seeing in the new thread.This is a resolved thread and is not actively monitored.
-
This reply was modified 7 years, 2 months ago by
The topic ‘Google photo authentication issue’ is closed to new replies.