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

Class: Services_Facebook_Application

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

Class Overview

Services_Facebook_Common
   |
   --Services_Facebook_Application

Facebook Application Interface


Author(s):

Version:

  • Release: 0.2.14

Methods


Inherited Variables

Inherited Methods


Class Details

[line 44]
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 72]

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 88]

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 55]

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:36:58 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.