Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

How to post to a group outside of jomsocial ?

9 years 2 months ago
Licenses:
JomSocial Expired

ISSUE SUMMARY:

First of all we are technical people and develops on joomla platform. I am finding api or code sample about how to post to a group outside of jomsocial. I checked this documentation.jomsocial.com/wiki/Stream_API_v2 but didn't help.

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

If you wanna use our sharebox UX that is not possible, but if you wanna only post the data to database I think our API is enough documentation.jomsocial.com/wiki/Stream_API_v2 , and dont forget to add the groupid parameter, like this :

//....
// the rest code above
$act->app = 'groups'; 
$act->groupid     = YOUR_GROUP_ID;
 
CActivityStream::add($act);

thank you!

9 years 2 months ago
Licenses:
JomSocial Expired

Thanks Dimas.

Just another small query: what's extra parameter I need to add for video posting ? example youtube video url that jomsocial supports

BTW, I think you can update the documentation page about the group posting with the api, it will help other not to ask in forum.

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

for video its really tricky, because you need get the thumb and save it to the videos table, and we dont have API for video processing for now

9 years 2 months ago
Licenses:
JomSocial Expired

I am a programmer, you can refer me some sample code or code location line numbers , I don't need 100% working sample but sample code that can lead me.

9 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

please you check this file components/com_community/controllers/videos.php and look this function :

public function link()

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW