I have created an Extension to post a Stream commend on Easy Social from a Mobile app.
It was working just fine on V1.2.14, but just went to V1.2.19 and it now causes the user to go to an error condition when ever they logon to EasySocial.
After I create a Stream Entry the user Account now get the attached display instead of going to the EasySocial community application. None of the links that are display do anything.
Here is my code that is used to Create the Stream Entry.
Please let me know what I'm doing wrong for the new version.
ALSO is there a way to get the user account out of this strange mode or do I need to delete the account and create it again?
Thanks
It was working just fine on V1.2.14, but just went to V1.2.19 and it now causes the user to go to an error condition when ever they logon to EasySocial.
After I create a Stream Entry the user Account now get the attached display instead of going to the EasySocial community application. None of the links that are display do anything.
Here is my code that is used to Create the Stream Entry.
$stream = Foundry::stream();
$template = $stream->getTemplate();
$template->setActor($user_id, SOCIAL_TYPE_USER);
$template->setContext($context_id, SOCIAL_TYPE_STORY);
$template->setVerb('create');
$template->setContent($content);
$location = Foundry::table('Location');
$location->latitude = $latitude;
$location->longitude = $longitude;
$template->setLocation($location);
return $stream->add($template);
Please let me know what I'm doing wrong for the new version.
ALSO is there a way to get the user account out of this strange mode or do I need to delete the account and create it again?
Thanks