Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created September 3, 2010 15:07
Show Gist options
  • Save jpadilla/564009 to your computer and use it in GitHub Desktop.
Save jpadilla/564009 to your computer and use it in GitHub Desktop.
$message = "Acaban de darle la nota a un$professorSexWord profesor$professorSexWord.";
$post_data = array(
'message' => $message,
'picture' => "http://www.notaso.com/assets/img/notaso-small-fb.png",
'link' => site_url('professor/'.$id),
'name' => $professorName,
'caption' => $universityName.' - '.$universityCampus,
'description' => $departmentName,
'access_token' => $this->config->item('facebook_notaso_access_token')
);
$post = $this->facebook->api('/notaso/feed', 'post', $post_data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment