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

Class: Services_Facebook_Application

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

Class Overview

Services_Facebook_Common
   |
   --Services_Facebook_Application

Facebook Application Interface


Author(s):

Version:

  • Release: 0.1.2

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
Facebook Application Interface

  1.  <?php
  2.  require_once 'Services/Facebook.php';
  3.  $api = new Services_Facebook();
  4.  $app $api->application->getPublicInfoById('123');
  5.  echo 'Canvas name of the app is: ' $app->canvas_name . '<br />';
  6.  ?>



[ Top ]


Method Detail

getPublicInfoByAPIKey   [line 70]

object SimpleXMLObject getPublicInfoByAPIKey( string $api_key)

Get the public information of an application by it's API key

Parameters:

string   $api_key   —  Application API key to get the info of

[ Top ]

getPublicInfoByCanvasName   [line 86]

object SimpleXMLObject getPublicInfoByCanvasName( string $canvas_name)

Get the public information of an application by it's canvas name

Parameters:

string   $canvas_name   —  Application's canvas name

[ Top ]

getPublicInfoById   [line 53]

object SimpleXMLObject getPublicInfoById( string $id)

Get the public information of an application by it's ID

Parameters:

string   $id   —  Application ID to get info of

[ Top ]


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