SocialMedia configuration for Facebook SocialMedia configuration for Facebook
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

SocialMedia configuration for Facebook

Started by ricks03, October 22, 2015, 07:59:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ricks03

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?

ΑndrĂ©

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?