0 Replies Latest reply on Jun 21, 2011 7:04 AM by fingersmagoo

    Delete a Facebook wall posting

    fingersmagoo

      Hello,

       

      I have been able to post to my wall, but I canot delete the posting.  Is this possible.  I have the permissions wide open.

       

      private var permissions:Array = ['publish_stream','create_event','rsvp_event','sms','offline_access','email','read_insigh ts','read_stream','user_about_me',

      'user_activities','user_birthday','user_education_history','user_events','user_groups','us er_hometown',

      'user_interests','user_likes','user_location','user_notes','user_online_presence',

      'user_photo_video_tags','user_photos','user_relationships','user_religion_politics','user_ status',

      'user_videos','user_website','user_work_history','read_friendlists','read_requests','user_ notes'];

       

      I get a variety of dofferent errors, but tha is mostly because of lack of understandin of the graph api.  My code is below.

       

      Thank you,

       

      Paul

       

       

      public function removeItem(o:Object):void

      {

           var data:Array = new Array();

           data["id"] = loginId+"_"+o.uid;

           data["method"] = "delete";

           FacebookMobile.postData("/delete", deleteCallback, data);

      }

      protected function deleteCallback(success:Object,fail:Object):void

      {

           appView.messages.removeItemAt(appView.lstMessages.selectedItem);    

      }