Time for action – deleting Posts using the Visualizer

  1. We can enable the Delete button of the Visualizer by using yet another hidden option. In the constructor function of CustomGraphContainerController.as, set this._showDeleteButtons to true:
    public function CustomGraphContainerController(a_graphControlContainer: GraphControlContainer)
    {
      super(a_graphControlContainer);
      this._showListCounts = true;
      this._showListFilters = true;
      this._canShowSearchUI = true;
      this._publishingCapability = PublishingCapabilities.COMPLETE;
      this._showDeleteButtons = true; _requestor = new SDKRequestor(); addEventListenersToRequestor(); //we must wait for the Requestor to initialise before we can do// anything else with it _requestor.addEventListener(Event.COMPLETE,onRequestorInitialize); ...

Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.