eh_ex wrote:I must say that I am completely baffled as to why my site's facebook sharing behavior is so differently than that of the imagvuex demo site. I have followed the directions pretty much to a tee.
The behavior I would expect would be as follows:
1. Main Page Social Thingy
a. I would get a comment box (I don't get a comment box at all)
b. The posted image would be the one I specify in index.php (it doesn't look like a FB post is created anymore)
a) I don't know ... This is not something we chose to add. Either your code is not identical to ours, or this is something with facebook and/or you have a different page-type with different permissions.
b) Not sure what you mean, but yes Facebook would search your index.php for an image to represent the like... for our gallery, it shows the image that represents the root. This was fixed in our gallery it seems after the update - Did you upgrade the gallery? This may also be a facebook cache issue, or proxy issue.
eh_ex wrote:2. Folder Level Like
a. I would expect the image posted to be the cover image for that folder. I get the image specified in index.php
I thought you just mentioned that it
doesn't get the picture from index any more? Anyway, it
is supposed to get the image from your index. We are talking about the Facebook "like" button here, and this button is set to target your global Imagevue page. Facebook does not, and can not search out an individual image from the "like" button ... This is also why this is a module we made an example for in our forum, and not something we have integrated into Imagevue - It is a 3rd party javascript and basically Facebook's own script loaded into an iframe, that lives its own little life. When clicking "like", you are liking and/or sharing your main gallery URL. If you want to share specifically, you need to click the share icon native to Imagevue, which we have coded so that it shares specific images.
eh_ex wrote:3. Image Level Like
a. the image posted is the image specified in the in index.php... I would expect the image I am attempting to share would be posted.
Any help on 1 and 2 would be much appreciated. I am not sure how else to troubleshoot this. Are there specific things that need to be done within FB itself?
Sorry, but this is explained above. Facebook "like" is Facebook's own code loaded into an iframe. When someone clicks "like", it posts a like to the URL it finds ... The URL it finds is your gallery, possibly with the #/path/ parameters. However, it will look in the source of this page, and find the content of your index ...
Besides, don't you want to build up your "like"s? Instead of having a 100 different pages with "1 people likes this", wouldn't it be more of a benefit to have "104 people like this" globally for your page?
eh_ex wrote:Also... I know how to generate new code from FB... but I am not sure how to place it into the seo settings.
Finally, I am not sure where you see the "share" on our demo ... I don't see it, perhaps until AFTER I click "like" ... This is generally a "like" button, and NOT for sharing content, although it seems like Facebook has added an option to "share" what you liked at choice to others users AFTER you click "like". I see in your code:
var fbLike = '<fb:like href="https://www.photo.gallery/demo/x2/" send="false" show_faces="false" colorscheme="dark" font=""></fb:like>';
Try setting send="true", although I can not guarantee perfect results as facebook controls this, and last time I checked, the "share" dialog box popped out in the wrong direction out of the screen.
As mentioned, this module we have next to none, or very little control over since its a 3rd party script ... This is why we are displaying it in a layered html level, basically since we cant integrate it.