• Resolved jplamb

    (@jplamb)


    I am getting “No data returned” error when i am trying to add images from Google to a post. I have setup the authentication and that all looks right.

    I have tried all options (multiple pictures etc)with the same results, i have turned off the SSL auth and still have the same issue, i am told cURL is enabled.

    thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Let’s try going old-school and publishing the shortcodes. E.g. follow the examples here for displaying multiple albums, or here for displaying photos within an album or an assortment of photos. You can use Photonic → Helpers &garr; Google Photos to find all your album ids. You can also use a more text-based input style via Add Media → Photonic.

    Once you insert a shortcode the old way, let me know of the results. If you can see the gallery on the front-end let me know about that as well, and if you cannot, can you provide me with the URL, please?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Hi – if you can let me know if something like the following works on your front-end, I can investigate and see if there are some changes I need to make:

    [gallery type='google' view='albums']

    Though the gallery insertion workflow does work for a large number of people using Google Photos, this is the 3rd report I have received of a “No data returned” error, so your inputs will help me track this down.

    Thread Starter jplamb

    (@jplamb)

    Hello,

    So i got it working using some of the steps you suggested.

    i went to the first link you provided with the examples and adapted the short code to have one of my album IDs. when i did this the front end of my site showed an error from google saying that the API for Photos was not active and asked me to go to a link to enable it. i did this and then after a few mins i could use the normal method of inserting images etc with out getting the “No Data Returned” error.

    all looks to be working now. thank you for the quick support.

    Many thanks

    Thread Starter jplamb

    (@jplamb)

    Hello Again,

    I needed to authenticate with a different Google account to made some notes on the steps required. happy for you to share them if you wish.

    1. go to https://console.developers.google.com/apis/library
    2. create a project (if one does not already exist)
    3. Press “Enable”
    4. press “Create Credentials”
    5. Select “Photos Library API” from the first drop down box
    5. Select “Web Browser (Javascript)” from the second drop down
    6. Select “User Data” from the options below
    7. Name “Photonic”
    8. enter website URL
    9. Enter Redirect URLs
    10 “Product Name to Show to Others” as “Photonic”
    11. press “I’ll do this later”
    12. Press the pencil to edit the oAuth
    13. copy the client ID and Secret into WP Settings
    14. authenticate in the Photonic settings
    15. Get Token
    16. Enter Token in settings

    Plugin Author Sayontan Sinha

    (@sayontan)

    Very happy to hear that it is working!

    Thanks a lot for the steps. I do believe I have captured most of them in the documentation links here, here and here. I do notice that some of the steps you have listed are different from my documentation, e.g. the point about selecting “Web Browser (Javascript)”. Did the steps in my documentation not work?

    Thread Starter jplamb

    (@jplamb)

    Hello,

    i followed your documentation but i am not sure if there is another step in there now that Google have added, it may also be that i have not fully read something in your documentation.

    Many thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘No Data Returned’ is closed to new replies.