Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo details image on Facebook Share button
Tagged: Photo Details
- This topic has 3 replies, 4 voices, and was last updated 9 years ago by wzp.
-
AuthorPosts
-
April 28, 2015 at 3:02 am #12560DobMember
I had posted this as an “add-on” to a relevant thread but thought it might be better to make it a separate topic:
I want to be able to add social media buttons that will just “Share” the chosen image on the Photo details page with just title and caption. I tried the usual plugins but they either show nothing, display a blank space or a sidebar image with wording as below even though I’ve configured price lists.
Even if I copy the page address and post in Facebook, for example:
[http://doblog.artfuldobson.com/?page_id=558&gallery_id=4&image_id=877&image_name=Aberystwyth-Harbour]
this is the text that displays on Facebook next to a choice of sidebar images.
“Photo Details Add comments « » Photo Details [WPS_photo_details] To buy this photo choose from the selections below: There are currently no configured digital or physical variations for this gallery. The administrator needs to configure some variations for the price list associated with this…
DOBLOG.ARTFULDOBSON.COM”
I’m using a static wordpress page showing images that link to the galleries. I also used your customm CSS code from other help posts to enlarge thumbnails and currently have removed your FB Like buttons from galleries whilst I was experimenting – I need a “Share” button.
Any help, comments, advice etc would be much appreciated.
Thanks
Peter
April 28, 2015 at 10:29 am #69788PeterMemberThe facebook share functionality is currently not available because FB changed the way their api works and a result broke our code which used to make it possible to share a photo using the photo details page.
To cut a long story short, the current behaviour of the FB API as far as “share” functionality goes, ignores or makes it impossible to pass URL query parameters to it and consequently you won’t be able to share a photo using the photo details page because that page has content which is dynamically generated and is reliant on the query parameters in the URL.
January 21, 2016 at 4:43 pm #69789acspptMemberI’m Having the same problem, the link that we share on facebook goes to a empty page. Like that we can not share the photos. how can i resolve this? [www.1001eventos.pt/fotos]
January 21, 2016 at 5:12 pm #69790wzpModeratorTo cut a long story short, the current behaviour of the FB API as far as “share” functionality goes, ignores or makes it impossible to pass URL query parameters to it and consequently you won’t be able to share a photo using the photo details page because that page has content which is dynamically generated and is reliant on the query parameters in the URL.
how can i resolve this?
You can’t. It’s their service, and hence, they make the rules; about what is or is not going to work. But in all fairness to FB; they are probably concerned about exploits that use rogue URL queries.
-
AuthorPosts
- You must be logged in to reply to this topic.