ZenphotoCMS Forum
zenFB Suite - Social Plugins for your zenPhoto - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: zenFB Suite - Social Plugins for your zenPhoto (/thread-7174.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


zenFB Suite - Social Plugins for your zenPhoto - micheall - 03-12-2011

Yeah that's one of the changes to the opengraph tags they made. It didn't used to be that way. I'll try to overhaul the OG properties this weekend if time allows.

@panjabi
Yeah they did change the way likes vs. shares work. Shares are actually depricated. The like feature "should" show up on your wall (in my tests with my gallery it does on mine). The problem however appears to be a hangup somewhere in the processing of the like. The same thing happened for me when the recently made changes to the news feed. My own personal likes via the zenFBSuite wouldn't show up on my newsfeed, however my test account and other facebook user accounts would show up properly. Try removing your app from your app settings, then reconnecting to it.




zenFB Suite - Social Plugins for your zenPhoto - southdreamz - 03-12-2011

@micheall: Have your plugin add the following attributes to HTML tag?

xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"




zenFB Suite - Social Plugins for your zenPhoto - micheall - 03-12-2011

the problem is there's no easy hook to add those to the html tag, I have them on my theme and still had the issue with the author tag, that problem is from them changing the opengraph and how they're restricting it. When I added the author bit it was more of a hack than anything to provide it so I needed to revisit it later anyways.

But yeah, when I retouch the plugins I'm going to add that to the instructions, I knew I was forgetting something.




zenFB Suite - Social Plugins for your zenPhoto - panjabi - 05-12-2011

micheall: the 'like' does show on my wall, but its not appearing on the news feed which is visible to all for some reason. The 'share' feature does both, which would mean the 'share' feature is a better option to attract more traffic to our galleries via facebook.

I think the problem is as ReeRee described. Using the debug tool i get the following;

Errors That Must Be Fixed:

Object Invalid Value: Object at URL 'MY URL' of type 'article' is invalid because the given value 'Admin' for property 'article:author' could not be parsed as type 'profile'.
Missing Required Property: The og:url property is required, but not present.
Missing Required Property: The og:type property is required, but not present.
Missing Required Property: The og:title property is required, but not present.

Warnings That Should Be Fixed:
Extraneous Property: Objects of this type do not allow properties named og:author.




zenFB Suite - Social Plugins for your zenPhoto - micheall - 05-12-2011

So that sounds to me like it's having issues because you haven't filled in the options on the zenFBCommon portion. You need to do that as the zenFBCommon is partly what drives the OpenGraph metatags. The question I have is how those aren't being populated with default info because there should have defaults and those should be loading in your theme because the plugin makes a call to the theme_head hook. What version of Zenphoto you running?

As far as the like vs share, Facebook itself deprecated the share function. It would make sense that you're not having info populating to your news feed though because your opengraph tags are messed up somehow.




zenFB Suite - Social Plugins for your zenPhoto - panjabi - 07-12-2011

The options within zenFBCommon have been filled in.
I'm using the latest version of zephoto and the default theme.

I wouldn't say the share function has been depreciated given that sites like YouTube are still using it as well as fb recently added the option to share status updates. 

Also I've tested your demo site with 2 accounts, both fail to show the like on the news feed, only visible on profile. Surely it can't be just me having this issue, or are others not concerned about the like appearing in news feed? 




zenFB Suite - Social Plugins for your zenPhoto - micheall - 07-12-2011

Perhaps I'm not being clear, Facebook has deprecated the share function, meaning it no longer supports it. It still functions, but there is no support for it, and it receives no further development.

Perhaps a link to your site so I can look at it/test it?




zenFB Suite - Social Plugins for your zenPhoto - lkjs - 07-12-2011

I get this message now on images with no comments:

Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit 'href' as suggested in the comments plugin documentation to take advantage of all plugin features.

I noticed one fix that says you might lose previous comments if you fix it. Is there is anyway we can have our wine glass full and our wife drunk?

See: http://stackoverflow.com/questions/8417170/how-to-migrate-comments-from-using-url-property-to-href

Also, glad to see your site back up again finally!




zenFB Suite - Social Plugins for your zenPhoto - lkjs - 08-12-2011

`
// Output Button XFBML
if ($comments_open) {
$zenFBComments_html = '';
echo $zenFBComments_html;

            unset($zenFBComments_html);

`
It looks correct to me the code. href is pointing to $URL and URL: doesn't exist. Sigh.

Here is another site with a solution, but not sure how that applies here: http://www.iannpurugganan.com/2011/12/fix-specifying-explicit-href-facebook.html




zenFB Suite - Social Plugins for your zenPhoto - micheall - 08-12-2011

@lkjs yeah I noticed that myself. I'm working to see if there's a way. Problem seems to be that Facebook is storing the old format comments separate from the new format, so if I update the plugin to the new format (to remove the warning), then the comments disappear. Still working on it.

It also seems that with the eventual release of the timeline interface they're retouching the code on all the social plugin components. So inevitably we're going to have to succumb to some changes here. The joys of working with Facebook is the magic changes that get sprung on people.