Topic-icon OpenGraph Actions and EasyBlog

Support Specialist
13 years 6 months ago #28012 by alzander
Glad you figured out the restriction. That error message was because your Joomla - Content object of "article" was not marked as a Built-In Object. I enabled that, and things look right now. I can't test though, since I'm not an admin of your app.. so give that a go, and let us know how it goes!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28025 by davpar
Hi.
Okay, great, that appears to be working... so on to the next question :)
I've set up a custom OG action to deal with when people are looking at a profile on the site. It's based on the Review tag. In the page source for profiles however, the type is stated as a "website".
Obviously I am doing something wrong, but I am guessing I am not going to be the only person who is going to want OG to post into facebook something along the lines of "Dave is reviewing Joe Blogs profile on U-Read.Net". So what is the best way to achieve this?
Thanks for all you're help so far... and for the record, this new feature in FBConnect is going to be a game changer for sites like mine where we need maximum exposure on the social networks to drive up user numbers!
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #28046 by alzander
Fantastic! Glad to hear that's going for you! For your last point, we agree that Open Graph Actions are going to be huge. It took an enormous effort to implement it how we did, keep it simple, yet flexible, and make it all work together. There are, and will be, hiccups for a while, so thanks for your patience. We definitely think its worth it though. There's a lot we *could* do in JFBConnect, but don't due to possible issues or it not being worth the effort. Actions are something that are going to be a support nightmare for a while, but totally worth it!

With that said, what are you trying to do for 'review'. If it's simply looking at a user's profile, that probably isn't possible. Only built-in Facebook actions should be triggered automatically on Page Load (yeah, we need to clarify that now, I realize). Other actions should only happen on a user-action on your site. So, if you have jReviews on your site, and a user can actually leave a review for a user, you can post that action to their timeline. If they're just reading a profile, that can't be done. You could however add a "I'm reviewing" or "Recommend" or "I like" or "Great user!" button and create an action for that, if you want. The user would have to click it to post to their Timeline, but it is something you can do now with JFBConnect (though a little effort will be required).

Auto-posting is something Facebook wants to limit due to abuse they've seen over the last 6 or so months since Open Graph Actions were enabled.

Hope that all makes sense, but if not, or you have questions, just let us know!

Oh, and finally, when you get through the weeds of Open Graph Actions, we hope you'll consider leaving a rating and review for JFBConnect, Open Graph Actions, or our support on the Joomla Extension Directory. It's not required, but certainly appreciated!
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks, and best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28054 by davpar
Hi Alex.
That makes perfect sense now, what you're saying about autoposting when just viewing a profile. So what I've done is just added the built in JFBC "like" module into the "js_profile_feed_top" module position so it shows up on the profiles, and from there people can choose to like a profile or send it on to a friend if they so wish.

Weeding out the issues is cool, and I hope I am helping you, and others, get through the first initial steps that the end user will go through when a product is new. It's fun as well, and hopefully with us all together, we'll get it ticking along nicely.

Couple of things I need to ask. Firstly, any sign of a fix to the EasyBlog module for OG (the drop down missing issue). Really want to get this integrated on the site. I also had a thought on this. Are those of us who use that and EB going to have to do an object/action for each category, or will there be a "apply to all categories" option (I have quite a few on my blog site!).

Secondly, again related to EB, for some reason, the FaceBook Like/Recommend/Send option no longer shows up in blog articles on EB. I've tried a few common sense approaches, like disabling loading the FB code in EB in case it was clashing, but still nothing showing. I can see where the FB content would normally be rendered, but it's not appearing. I'm guessing there's a clash there somewhere.
Ignore item above - it was related to the problem mentioned in the post www.sourcecoast.com/forums/jfbconnect/jf...ike-send-button-gone

And finally (for now!!), do you plan to support posting to a timeline if a user is reading a post in the Kunena forum if installed on the site. I think it would be another cool feature to allow this to work in the same way as EB or a Joomla/K2 article, and again, will increase exposure of user's sites if implemented.

... Just thought of something else! I'm struggling with implementing some things in OG. For example, at the moment, I'm struggling how I post to FB when someone uploads a photo in JomSocial. Could we have a quick guide on how to perform these sort of tasks?

Cheers
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #28071 by alzander
The Like button is a good choice. Again, you can create your own "Action" button if you wanted, instead of theirs, but I'd recommend that. With the JomSocial Open Graph plugin, you can define the type for profiles. However, by just enabling the Open Graph plugin, it will automatically set the Open Graph image tag for the profile page to their profile as well as the title (their name) and description (I think this is their "About Me" field, but possibly last status update). That's all without even creating a "Profile" object type. Some of the cool stuff our Open Graph plugins can do automatically by just enabling them :D

We just re-built the EasyBlog plugin with the missing files and did a quick test. Everything looks good, which means we'll push it to our update server in a few hours. So, in 6 or so hours, go to the Joomla Installer - Update Manager and hit Refresh. v4.3.1 should show up there, update, and work without a hitch.. hopefully :D

As for categories, the category you select will work for all sub-categories. So, just select a main parent category, and you should be good to go. Then, if you, for some reason, don't want a sub-category to have the action applied to it, just create a new object for that specific category and don't assign the action to it. It's flexibly confusing, is the term I think we're going to call it... the biggest issue with EasyBlog or K2 is that the category drop down doesn't show the hierarchy. Something we will be adding, but right now, it's a flat and confusing list. Enjoy!

Finally, a Kunena specific plugin is something we'll create just for the "I posted" action. However, for the auto-post on read action, you'd need to mark all your posts as "article" since the news.reads action only works with articles. If that's something you'd want to do, you could actually do what you're looking for right now with our Custom Object plugin. Create a new Custom Object and add the following parameters:
option=com_kunena
view=thread
Then, give the Object type of "article". I'm actually not sure of the view=thread thing, just giving you the idea, you'd have to know their non-SEF structure.. but that's the power of the Custom Object plugin.. you can now assign an object-type to any extension, even if we don't have a specialized plugin for it. The specialized plugin would just add some new specific features.

Hope that helps explain, as always, but if not, keep us posted on what you need! Loving to see that actions are being created and submitted and, most of all, WORKING!

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28072 by davpar
Thanks Alex...
I added something else to the previous post at the same time as you were obviously editing it so you might not of seen it, regarding guides on how to do stuff like when a user uploads a photo in Jomsocial...
It's getting late here, so I will look at your suggestion tomorrow, otherwise after such a long day I fear my brain might explode.
But thanks for all your help...
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #28084 by alzander
Dave,
For JomSocial photo upload, what we've done is:
* Facebook Open Graph Object name: "gallery" (can use album or whatever)
** Create that in JFBConnect as well for "Album Images" in the JomSocial plugin. It's *not* a FB Built-in Action
* Facebook Open Graph Action name: "upload" (or whatever)
** Create the action in JFBConnect for "Upload Image" as "upload". It's also *not* a FB Built-In Action
** Associate that to the Album Images Object

Publish both and hopefully, you're good to go!

Best of luck, and we'll chat tomorrow :D
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28115 by davpar
Hi Alex.
Well, I've put all that in place, and it seems to work, so far.
Just submitted the actions to FB for approval.
Will see what happens.

Any sign of the EasyBlog module yet?!
Dave
The topic has been locked.
Support Specialist
13 years 6 months ago #28122 by alzander
Awesome! Keep us posted on the approval process. Hopefully, it will go smoothly, but curious to start hearing about some 'live' actions using JFBConnect outside of our demo site!

The EasyBlog plugin was put in the upgrade server a few hours ago. If you go to the Joomla Installer and click on the Update tab, it should show and be installable from there. If you can't get it, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 6 months ago #28129 by davpar
Hi Alex.
Tried updating. Initially I got:
Update: :Extension: Could not open www.sourcecoast.com/updates/opengraph_easyblog.xml
Invalid extension update

Followed by:
Error connecting to the server: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
Package download failed: www.sourcecoast.com/index.php?option=com...view=download&id=122

then it updated. Just a heads up in case anyone else having the same issue. It's updated now, so will try it out and let you know how it goes :)
Dave
The topic has been locked.