Services_Facebook
[ class tree: Services_Facebook ] [ index: Services_Facebook ] [ all elements ]

Class: Services_Facebook_Admin

Source Location: /Services_Facebook-0.1.2/Services/Facebook/Admin.php

Class Overview

Services_Facebook_Common
   |
   --Services_Facebook_Admin

Facebook Admin Interface


Author(s):

Version:

  • Release: 0.1.2

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 45]
Facebook Admin Interface

  1.  <?php
  2.  require_once 'Services/Facebook.php';
  3.  $api = new Services_Facebook();
  4.  echo 'Notifications that we can send per day, behalf
  5.        of a user: ' $api->admin->getNotificationsPerDay('<br />';
  6.  echo 'Requests that we can send per day, behalf of a user: ' .
  7.        $api->admin->getRequestsPerDay()'<br />';
  8.  ?>



[ Top ]


Class Variables

$applicationFields = array(
        'application_name', 'callback_url', 'post_install_url', 'edit_url', 
        'dashboard_url', 'uninstall_url', 'ip_list', 'email', 'description', 
        'use_iframe', 'desktop', 'is_mobile', 'default_fbml', 'default_column', 
        'message_url', 'message_action', 'about_url', 'private_install',
        'installable', 'privacy_url', 'help_url', 'see_all_url', 'tos_url',
        'dev_mode', 'preload_fql'
    )

[line 52]

Default application property fields

Type:   mixed


[ Top ]



Method Detail

getAppProperties   [line 70]

array getAppProperties( [array $properties = array()])

Gets property values previously set for an application.

Parameters:

array   $properties   —  The properties to get, default is all

[ Top ]

getNotificationsPerDay   [line 120]

int getNotificationsPerDay( )

Get the number of notifications your application can send on behalf of a user per day.

[ Top ]

getRequestsPerDay   [line 136]

int getRequestsPerDay( )

Get the number of requests your application can send on behalf of a user per day.

[ Top ]

setAppProperties   [line 96]

boolean setAppProperties( [array $properties = array()])

Sets multiple properties for an application.

Parameters:

array   $properties   —  Property / value assocative array of properties

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:24:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.