             if (_isInitialized() && shareLinkContent != null)
                 _context.call("shareLinkDialog", shareLinkContent, _getNewCallbackName(callback));
         }
-
-        /**
-         * Opens app invite dialog.
-         *
-         * @param appInviteContent Content of app invite dialog.
-         * @param callback (TODO)
-         */
-        public function appInviteDialog(appInviteContent:FBAppInviteContent,
-                                        callback:Function = null):void {
-
-            if (_isInitialized() && appInviteContent != null)
-                _context.call("appInviteDialog", appInviteContent, _getNewCallbackName(callback));
-        }
+        
 
         /**
          *

                                                 callback:Function = null):void {

            if (_isInitialized())
                _logIn(permissions, "read", callback);
        }

        /**
         * Open a new session with a given set of publish permissions.<br><br>
         *
         * @param permissions An array of requested <strong>publish</strong> permissions.
         * @param callback (Optional) A callback function of the following form:
         * <code>function myCallback(success:Boolean, userCancelled:Boolean, error:String = null)</code>
         *
         * @see #logInWithReadPermissions()
         */
        public function logInWithPublishPermissions(permissions:Array,
                                                    callback:Function = null):void {

            if (_isInitialized())
                _logIn(permissions, "publish", callback);
        }

        /**

                permissions = [];

            _openSessionCallback = callback;
            _context.call('logInWithPermissions', permissions);
        }

        /**
