Posted By

Matias on 02/03/12


Tagged

post message as3 facebook Wall


Versions (?)

Post to wall using GraphAPI_Web.swc AS3


 / Published in: ActionScript 3
 

i assume that the Facebook api has been initialized and i have the "publish_stream permission" the picture can be taken of a particular area of the displayObject

  1. public function PostToUserWall(userId : String,message : String, name :String,caption : String, description : String, link : String) : void
  2. {
  3. var params: Object = new Object;
  4. params.message = message;
  5. params.name = name;
  6. params.caption = caption;
  7. params.description = description;
  8. params.link = link;
  9. Facebook.api("/"+userId+"/feed",null,params,"POST");
  10. }

Report this snippet  

You need to login to post a comment.