How do I post dynamic information to Facebook from Flash?
Posted
by daidai
on Stack Overflow
See other posts from Stack Overflow
or by daidai
Published on 2010-04-15T10:43:51Z
Indexed on
2010/04/15
10:53 UTC
Read the original article
Hit count: 222
actionscript-3
|I am building a Flash site and I want to be able to allow the user to post dynamically produced information to their Facebook wall, but I can't find out any information within the Facebook developers documentation.
Its simple enough in Javascript/HTML:
<script type="text/javascript">
function callPublish(msg, attachment, action_link) {
FB.ensureInit(function () {
FB.Connect.streamPublish('', attachment, action_link);
});
}
</script>
<input type="button" onclick="callPublish('',{'name':'Post this to Facebook','href':'http://dev2.com','description':'this is some body test'},null);return false;" value="Preview Dialog" />
As you can see I don't want to create sessions or login or anything complicated, just post to info to their wall.
© Stack Overflow or respective owner