• Hello,

    the plugin works great with my own picasa albums and Google photos, thank you.

    But now I would like work with public albums of someone else. I successfully get thumbnails of these albums with the shortcode:
    [gallery type="picasa" user_id="1234567891234567890"]

    But I can’t access a specific album with
    [gallery type="picasa" user_id="1234567891234567890" album="albumname"]

    I get a warning:
    Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, ‘<‘ not found in /wordpress/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246 Warning: simplexml_load_string(): Invalid entity id: albumname in /wordpress/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246 Warning: simplexml_load_string(): ^ in /wordpress/wp-content/plugins/photonic/extensions/Photonic_Picasa_Processor.php on line 246

    This is because of this isn’t my own album. If I delete the Refresh Token, I get no album or warning.

    Is it possible to display these albums?

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Sorry, the warning message was because of a typing error.
    But the question remains.

    Plugin Author Sayontan Sinha

    (@sayontan)

    If you are authorized to see the album directly, you can see it using Photonic. Are you sure you are using the album name and not the album id? What is the value you are passing to the album parameter?

    These are old Picasa albums, so I’m passing the album name.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Can you provide me with the exact shortcode you are using? Also, a link to the site where you have this?

    This works like expected:
    [gallery type='picasa' user_id='sayontan' album='VaibhavSBirthday']

    The reason must be Google and how the album is shared. I can see all albums and photos via the Web https://picasaweb.google.com/

    Public Picasa albums shared with an albumid are working.
    https://picasaweb.google.com/1234567891234567890/987654321
    [gallery type="picasa" user_id="1234567891234567890" album="987654321"]

    These albums do not work:
    https://picasaweb.google.com/1234567891234567890/AlbumName

    Thank you.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Sorry – still not following you. The exact shortcode you are using would help, not examples of what I have shared in the documentation page, or abstract values such as 1234567891234567890. I also require a link where you are facing the problem, as requested in my previous post.

    Displaying others’ albums works – there is an example in the documentation page showing this. Google deprecated the album name, so in general it is advisable to use the album_id parameter. Photonic → Helpers can tell you which Id you need to use.

    Is your album public? There are instructions around the access attribute of the shortcode too. Generally citing access='public,protected,private' covers all bases.

    I’m sorry, it is a Google problem. The albums are public.
    You are generating in Photonic_Picasa_Processor.php an URL ($rss) like:

    https://picasaweb.google.com/data/feed/api/user/1234567891234567890/album/albumname_or_albumid?max-results=10&start-index=1&thumbsize=72c&imgmax=1600&access_token=mytoken

    This results are used by $picasa_result on line 246. Failing albums don’t have an entry parameter querying in line 250. So this condition for these albums is false.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Actually if you are passing the right album_id, entry should always be present – if an album is public, it will show up. You also mentioned that you are able to see the listing of albums using [gallery type="picasa" user_id="1234567891234567890"]. This would mean that the albums are visible to the plugin and Google is returning them, but that the second shortcode you are using to display an individual album is incorrect. That is why I have been asking for the exact shortcode you are using.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Picasa public albums of other’ is closed to new replies.