forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: ricks03 on October 22, 2015, 07:59:53 pm

Title: SocialMedia configuration for Facebook
Post by: ricks03 on October 22, 2015, 07:59:53 pm
For the SocialShare plugin, you can configure the URL associated with the facebook link as:
http://www.facebook.com/share.php?u=<SHAREURL>&t=<SHARETITLE>

When I use precisely the above, it (not surprisingly) doesn't get the link right.

I think the link needs to be something like:
http://www.example.com/gallary/displayimage.php?album=$album&pid=$pid#top_display_media

where the current album and PID are filled in by environment variables, different for each picture. That's how the demo site for the plugin works at http://www.sillig.com/coppermine , I just don't know exactly how the configuration is on that site.

How would I update the configuration fro SocialShare to include the values that change with each photo?
Title: Re: SocialMedia configuration for Facebook
Post by: Αndré on October 23, 2015, 04:01:39 pm
The SocialShare plugin works for me out of the box. And the Facebook share URL is exactly the same for me. What exactly happens in your gallery?