Topic-icon Integration with Community Builder & YooRecipe

Active Subscriptions:

None
10 years 11 months ago #32876 by mluispt
Hi everyone, does anyone had any problems using JFBConnect integrated with Community Builder and YooRecipe? I'm building a portal with both components and i would like to "POST" to the users Wall their activity for example, Created a Group, Joined a Group, Created a Recipe, etc etc...

Can anyone give me some tips in how to do this? I really appreciate all the help since i'm struggling with this for several hours, some tips from more experienced users is always good.


Thanks a lot.
The topic has been locked.
Support Specialist
10 years 11 months ago #32884 by alzander
JFBConnect has great integration with Community Builder for importing user profiles and other information from Facebook. As for posting actions like you mention. that can be done using Open Graph Actions, which are also a feature of JFBConnect. We don't have specific integration with CB or YooRecipe for those types of actions, but you can create custom actions with a button that a user could click to post "I cooked this" or whatever.

We're looking to create a CB specific Open Graph plugin, which can automatically post things like "I joined a group" and other things you mention. We already have similar features for JomSocial to post when a user joins a group or uploads a picture to an album.

If you're looking for specifics on how to do the above, we'd need to know what version of JFBConnect you're working with. From there, we can help you implement the actions as necessary.

Also, please post from the account you subscribed to JFBConnect from. Priority support is for active subscribers only.

I hope that helps, and thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 11 months ago - 10 years 11 months ago #32927 by mluispt
I'll post from the account where i have the subscription which is doesn't belong to me it's one of my clients.
Last edit: 10 years 11 months ago by mluispt.
The topic has been locked.
Active Subscriptions:

None
10 years 11 months ago #32928 by molsner
I'm using JFBConnect 5.0.0, the Community Builder version is 1.9, if you could help making the actions would be great, thanks.
The topic has been locked.
Support Specialist
10 years 11 months ago #33028 by alzander
Sorry for the delay in getting back to this.

As mentioned above, we don't have any Open Graph plugins specific for either Community Builder or YooRecipe. An Open Graph plugin is what makes it possible to automatically post an action when a user 'does' something as that hooks into those systems at a lower level, like when a recipe is saved or the actual joining of a group is saved to the database.

Without an Open Graph plugin, you'd be able to create a 'button' or something that a user could click to have an action posted to the wall on their behalf. So, for a Recipe, you could have an "I cooked this" or "My Favorite". For a Group, you could have a button like "I recommend this group" or even "I joined this group".

To create a button like above, you'd want to install and enable the Open Graph - Custom plugin. Then, go into the Open Graph area of JFBConnect. In the Objects area, create a new object with the following settings:
Name: Recipe
Type: recipe
Built-In: Un-checked

On the right side parameters for the query string, you'd enter something like:
option=com_yoorecipe
view=recipe
I don't know what the actual URLs for your recipes look like, but hopefully that's close.

Then, in the Action area, create a new Custom Action with the following settings:
Name: Cooked
Type: cook
Built-in: Un-Checked

Trigger Type: Manual
Make sure the Object is associated with this action at the bottom.

Then, note the ID of the action (likely '1'). On your site, wherever you want the button to show, simply add the following HTML:
<a href="javascript:void(0)" onclick="jfbc.opengraph.triggerAction('1',window.location)"><img src="http://site.com/button-image.jpg" /></a>
That will display whatever image you set above (button-image.jpg) and, when clicked by the user, it should post the "Cooked Recipe" action to the user's wall.

I hope that helps get you started, but if not or you have any questions, just let me know.

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

None
10 years 11 months ago #33084 by molsner
Hi there again, for some reason it's not working... either in manual trigger mode or on page load. Any more tips regarding this?
The topic has been locked.
Support Specialist
10 years 11 months ago #33148 by alzander
Sorry for the delay.

An 'on page load' trigger mode definitely won't work if you're trying to create a button that a user will 'manually' click. Can you post (or Private Message) a link to a page where we can see the button you've created to help diagnose what may be going wrong?

Thanks,
Alex
The topic has been locked.