2010-01-21 2 views
1

외부 Facebook Connect 웹 사이트에 스트림을 게시하고 싶습니다.Facebook Connect에서 스트림 게시

이 작업은 이미 포함 된 JavaScript 클라이언트 라이브러리를 통해 수행해야합니다. 다음과 같이

내 페이지의 코드는 다음과 같습니다

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="de" lang="de"> 
<head> 
[...] 
</head> 
<body> 
[...] 
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/de_DE" type="text/javascript"></script> 
<script type="text/javascript"> 
FB.init("XYZ", "xd_receiver.htm"); 
FB.Connect.ifUserConnected(set_cookies_and_refresh()); 
</script> 
[...] 
<script type="text/javascript"> 
var addedLinks = [{ "text": "Challenge XYZ now", "href": "http://example.org/page1.html" }]; 
FB.Connect.streamPublish("", null, addedLinks, null, "What do you want to add?"); 
</script> 
[...] 
</body> 
</html> 

스트림 대화가 빨리 페이지가로드로 열어야합니다.

무엇이 잘못 되었나요? 나 좀 도와 줄 수있어? 고마워요!

답변

관련 문제