UPDATES EasyBlog 6.0.16 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

API for Add a Friend Issues

Gene Teigland · ·
9:58 AM Saturday, 18 July 2015
None
Something is not quite working (or I'm making a mistake) as it concerns your API. Specifically trying to use the API for Add a Friend. I put in this code:

<?php require_once( JPATH_ROOT . '/administrator/components/com_easysocial/includes/foundry.php' );

// This will render the necessary javascripts on the page header.
Foundry::page()->processScripts();
?>

<a href="javascript:void(0);" data-es-friends-add data-es-friends-id="<?php echo $userId;?>">Add a Friend</a>


I got this code by looking at your API at:
http://stackideas.com/docs/easysocial/developers/html/followers

But it does not function. I can click on the link but it does not add the user... all it does is say "cancel this request". Also once added as I try... The same text stays. Just seems like some things are missing in the API docs. Perhaps if you can point me in the right direction Ill figure out the other issues.

Thanks
The replies under this section are restricted to logged in users or users with an active subscription with us