Skip to Main Content
Facebook Cookbook
book

Facebook Cookbook

by Jay Goldman
October 2008
Intermediate to advanced content levelIntermediate to advanced
434 pages
12h 7m
English
O'Reilly Media, Inc.
Content preview from Facebook Cookbook

Page Table

Problem

What’s the schema for the page table?

Solution

The page table records information about Facebook Pages. Its fields are listed in Table 8-14. Queries to this table will only return data the current user is allowed to see (i.e., you can’t request pages that the current loggedinuser can’t see). More information about this table, including an up-to-date listing of fields, can be found at http://wiki.developers.facebook.com/index.php/Page_(FQL).

Table 8-14. page table fields

Name

Type

Index

Description

page_id

int

Page ID of this Page.

name

string

Name of this Page.

pic_small

string

 

URL of the small picture for this Page (max width of 50 px and max height of 150 px). Might be empty if this field wasn’t set by the creator.

pic_big

string

 

URL of the big picture for this Page (max width of 200 px and max height of 600 px). Might be empty if this field wasn’t set by the creator.

pic_square

string

 

URL of the square picture for this Page (max width and height of 50 px). Might be empty if this field wasn’t set by the creator.

pic

string

 

URL of the picture for this Page (max width of 100 px and max height of 300 px). Might be empty if this field wasn’t set by the creator.

pic_large

string

 

URL of the large picture for this Page (max width of 396 px and max height of 1188 px). Might be empty if this field wasn’t set by the creator.

type

string

 

Type of this Page.

website

string

 

External URL for the subject of this Page.

has_added_app

bool

 

Indicates whether this Page has your application ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning PHP 5.3

Beginning PHP 5.3

Matt Doyle
HTML5 Geolocation

HTML5 Geolocation

Anthony T. Holdener

Publisher Resources

ISBN: 9780596156695Errata