Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: SocialMedia configuration for Facebook  (Read 6999 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: 15764
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.