Posting a WWW

A WWW (WhoWhatWhere) is a post to the Buzz (Activitystream) on Hyves.nl. The Buzz on Hyves.nl is a stream of activities of your friends. So when you post a WWW, this will be published to the streams of your friends.

Example

// The "what" part of the WWW - Required parameter
$emotion = "This is the content of the WWW";
 
// The "where" part of the www - Required parameter
$location = "The location";
 
// The visibility of the www. - Required parameter - Possible settings: friend, friends_of_friends, public, superpublic, default
$visibility = "friend";
 
// Use a single hubid as where - Optional parameter 
// This example uses the Hyvers Hyve
$hubid = "00de1a721c6cd703c961b74f54b47dda52";
 
// Latitude - Latitude of the geolocation - Optional parameter
$latitude = "52.36089";
 
// Longitude - Longitude of the geolocation - Optional parameter
$longitude = "4.89833";
 
// Execute the API call with all the required parameters
$oGenusApis->doMethod("wwws.create", array(
	"emotion"=>$emotion,
	"where"=>$location,
	"visibility"=>$visibility,
	"hubid"=>$hubid,
	"latitude"=>$latitude,
	"longitude"=>$longitude
),$oOAuthAccessTokenLogintoken);

This example uses the OAuth authorization example and the GenusApis PHP library.

Click here to see a live example and download the source code.