I'm having trouble porting this code below to c#. my main trouble is with the $fb_activity_array.
$fb_activity_message = '{*actor*} played this game';
$fb_activity_array = json_encode(array('message' => $fb_activity_message, 'action_link' => array('text' => 'Play Now','href' => 'http://yoururltoplaygamegere')));