Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: SocialMedia configuration for Facebook  (Read 3347 times)

0 Members and 1 Guest are viewing this topic.

ricks03

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
SocialMedia configuration for Facebook
« 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15686
Re: SocialMedia configuration for Facebook
« Reply #1 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?
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.