Topic-icon Open Graph Jomsocial Profile Object

Active Subscriptions:

None
10 years 1 week ago #43866 by tatcon
1. Will the built in jomsocial profile object allow me to create an action that will automatically push out to facebook if a user does something else other than join a group or post a photo, such as just a normal status update or liking or commenting on something in the jomsocial activity stream? If so that's great can you explain what action I would set in Facebook and in JFBConnect.

2. Can a custom action be created to also automatically post to FB when someone reads an EasyBlog article or comments using Kommento? I would also like to do the same for when my users post or reply in Kunena. If so how can I go about this?

Thanks.
The topic has been locked.
Support Specialist
10 years 1 week ago #43869 by alzander

1. Will the built in jomsocial profile object allow me to create an action that will automatically push out to facebook if a user does something else other than join a group or post a photo, such as just a normal status update or liking or commenting on something in the jomsocial activity stream?

In the Profiles -> JomSocial configuration area, there's an option for "Push status updates to Social Networks". Enable that and, if a user is logged in using Facebook and has granted permissions for your app to post on their behalf, any status updates they make in JomSocial will go to their Facebook Timeline.

We don't have 'actions' for Liking or Commenting on things in the activity stream, yet. It's on our to-do list, and we're planning to have that available later this summer.

2. Can a custom action be created to also automatically post to FB when someone reads an EasyBlog article or comments using Kommento? I would also like to do the same for when my users post or reply in Kunena. If so how can I go about this?

For reading an EasyBlog article, that's already possible. The steps would be to create an object for your EasyBlog posts of type "article". Then, create an action of type 'news.reads'. Have that set to trigger after the user has been on the page for at least 15 seconds, and that should work.

For Komento and Kunena, we'd need a plugin to implement the actions you're looking for since they happen on your server.. the user posts the comment/thread and your server processes it. That's where we'd need the plugin to trigger and 'push' that action to Facebook. We have Open Graph plugins for both Komento and Kunena on our to-do list, and we're hopeful they'll be available later this summer.

I hope that helps explain, but if you have any questions, please let us know!

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

None
10 years 1 week ago #43895 by tatcon
Thanks for the quick reply I have set the options in the configuration as you suggested. Now I am still wondering what the Jomsocial profile object would be used for (profile Jomsocial - Profile Activity Stream )?
The topic has been locked.
Support Specialist
10 years 1 week ago #43903 by alzander
The profile object, right now, is mainly meant to create custom actions. With it, you can set a type of your profile objects to "People" or something like that. Then, create custom actions which you'd add as buttons to user profile pages, with actions like "Agree", "Love", Hate", or whatever you want.

Those buttons could be added either using the SCSocialWidget module to profile pages or with the {JFBCRequest action_id=x} tag in your JomSocial template files.

I hope that helps give you some ideas, but if you have any questions, let me know.

Thanks,
Alex
The topic has been locked.