Facebook API
Display mode: list
Show Pages
before_show_pagelist, after_show_pagelist
Here are the tags available to before/after_show_pagelist in the facebook page list:
Tag | Description |
---|---|
__pagination__ | The pagination links |
__totalpossible__ | The total number of items |
__totalreturned__ | The total number returned in the current request |
show_pagelist
Here are the tags available to show in pages list view:
Tag | Description |
---|---|
__id__ | Id of the Facebook Page. |
__name__ | Name of the Facebook Page |
__categories__ | Categories that are assigned in Facebook for the Page |
__count__ | The current post number in the result set |
Show Posts
before_show_postlist, after_show_postlist
Here are the tags available to before/after_show_postlist in the facebook post list:
Tag | Description |
---|---|
__pagination__ | The pagination links |
__totalpossible__ | The total number of items |
__totalreturned__ | The total number returned in the current request |
show_postlist
Here are the tags available to show in posts list view:
Tag | Description |
---|---|
__id__ | Id of the Facebook Post. |
__text__ | Post's text |
__date__ | Formattable date/time. Use __date format='j/m/Y'__. A complete list of tags is available. |
__url__ | The Permalink to the post |
__videoembedurl__ | The source url of the video embed code |
__videourl__ | Url to the actual video file |
__imageurl__ | The url to the image |
Parameters needed to display a list of posts
find_page_id
Tells Facebook which page to get a list of posts from
Example:
"find_page_id:101090861674291",
howmany
Sets the maximum number of items to display
Example:
"howmany:3",
Full Example:
$facebook = getContent(
"facebook",
"display:list",
"find_page_id:101090861674291",
"howmany:2",
"show_postlist:__text__",
"show_postlist:__imageurl__",
"noecho"
);
Display mode: detail
Show Page
show_pagedetail
Here are the tags available to show in a page detail view:
Tag | Description |
---|---|
__id__ | Id of the Facebook Page. |
__name__ | Name of the Facebook Page |
__categories__ | Categories that are assigned in Facebook for the Page |
Parameters needed to display a single page
find_page_id
Tells Facebook which page to get
Example:
"find_page_id:101090861674291",
Full Example:
$facebook = getContent(
"facebook",
"display:list",
"find_page_id:101090861674291",
"show_pagedetail:__name__",
"show_pagedetail:__categories__",
"noecho"
);
Show Post
show_postdetail
Here are the tags available to show in a post detail view:
Tag | Description |
---|---|
__id__ | Id of the Facebook Post. |
__text__ | Post's text |
__date__ | Formattable date/time. Use __date format='j/m/Y'__. A complete list of tags is available. |
__url__ | The Permalink to the post |
__videoembedurl__ | The source url of the video embed code |
__videourl__ | Url to the actual video file |
__imageurl__ | The url to the image |
Parameters needed to display a post
find_post_id
Tells Facebook which post to get
Example:
"find_post_id:101090861674291_101098335006877",
Full Example:
$facebook = getContent(
"facebook",
"display:detail",
"find_post_id:101090861674291_101098335006877",
"show_postdetail:__text__",
"show_postdetail:__imageurl__",
"noecho"
);