-4
Ijust訪問了http://faceconn.com/facebook-stream-publish-php網站並試用了一個示例代碼。 我也下載了php sdk,但找不到'faceconn/faceconn.php'文件。我在哪裏可以得到faceconn.php文件?
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>Facebook Stream Publish PHP example</title>
</head>
<body>
<?php
require_once 'facebook.php';
require_once 'faceconn/faceconn.php';
UseGraphAPI();
$publish = new StreamPublish();
$publish->SetName("Story Name");
$publish->SetNameUrl("http://faceconn.com");
$publish->SetCaption("{*actor*} publish this story:");
$publish->SetDescription("This is a description of the story");
$publish->SetOnPublishJavaScript("alert('Published')");
$publish->SetMedia(new ImageMedia("http://faceconn.com/img/cat.png", "http://faceconn.com"));
$publish->AddPropery(new Property("Product Name", "Faceconn Toolkit"));
$publish->AddActionLink(new ActionLink("Faceconn", "http://faceconn.com"));
$publish->Render();
?>
</body>
</html>
我在哪裏可以得到這個文件?