Created: 12/12/2014
By: Lorenzo Gangi
Email: lorenzo@ironlasso.com
Thank you for downloading my Wordpress plugin. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here or at ironlasso.com. Thanks so much!
jQueryFacebookWallWPLight (JQFW-WPL) is Wordpress plugin that will retrieve your Facebook account data and build a Facebook styled feed on any website. JQFW-WPL provides a couple of features, pro version featrues are denoted by *:
Follow these instructions to get your Facebook feed on your website. When you downloaded JQFW-WPL you got a file called jQueryFacebookWallWPLight_download.zip
/docImages readme.html readme.txt /jQueryFacebookWallWPLight.ZIP /css /images /js /licensing /template fb_app_token.php fb_get_app_token.php uninstall.php jQueryFacebookWallLight.php


settings example - this will show the National Geographic facebook feed.


All HTML created by the plugin is contained in <div class='facebook-wall' /> The plugin creates a two-column layout. Events, albums, photos, and likes are always placed in the right column. Posts are placed in in the left column for the wall style feed (which you can set in your settingss) and are placed in both the left and right columns alternating. The plugin also provides a light box to browse photo albums. The containing <div> for this is appended to the end of the parent .facebook-wall
Most of the HTML is managed via .ejs template files. See http://embeddedjs.com/ if you are interested in how that works. All of the template files can be found in yourPluginsDirectory/jQueryFacebookWallWPLight/templates/ if you should ever need to make any changes. In that directory you will find templates for:
All plugin CSS is located in the yourPluginsDirectory/jQueryFacebookWallWPLight/CSS/jQueryFacebookWallWPLight.css Only the minified version is available with JWF-WPL
The CSS document is divided five main parts:
Also in included is a minified version of all CSS jQueryFacebookWallWPLight.min.css. Use this file instead of the unminified version to reduce load time and page weight.
All plugin javascript is located in yourPluginsDirectory/jQueryFacebookWallWPLight/js/. The plugin uses three javascript files:
*Also included is a minified version of all javascript jQueryFacebookWall.min.js. Use this file instead of the unminfied version to reduce load time and page weight.
I've used the following images, icons or other files as listed. You can find them in yourPluginsDirectory/jQueryFacebookWallWPLight/images/
jQueryFacebookWallWPLight has the following shortcode(s)
jQueryFacebookWallWPLight offers a multitude of settings so that you can tweak it to get exactly what you want.
| Setting: | Name of the plugin option. |
Type: |
Data type of the setting. If the option is an enumerated, type the possible values are listed in array style syntax i.e., [‘value 1’, ‘value 2’]. |
Required: |
Defines if the option must be set; if ‘yes’ then the option value must be provided in the plugin instantiation call. If not yes, the default value of the option is listed. |
Description: |
Description of the settings functional purpose. |
Setting |
Type (javascript) |
Required |
Description |
|
|
|
|
appId |
string |
yes |
Facebook app id. |
domain |
string |
yes |
Domain name where the plugin is used. i.e., www.ironlasso.com |
FacebookUser |
string |
yes |
Your book account name. |
display |
[‘timeline’,'single-column,*’wall’] |
timeline |
The display style of the wall. See examples. |
posts.feedType |
[‘feed’,’posts’] |
feed |
Feed type defines if you would like to show the Facebook user's feed (include posts from other users) or posts (only posts from Facebook user). |
*posts.limit |
int |
10 |
The max number of posts to retrieve from Facebook. Note: Facebook may or may not return the max number of posts. Some posts get filtered for various reasons (privacy, blocked user, region, etc.). light version is limited to 5 posts |
*comments.limit |
int |
100 |
Max number of comments returned from Facebook; 5000 is the max value Facebook allows. light version is limited to 5 comments |
*comments.showAtStart |
int, ‘All’ |
2 |
The number of comments to show when the wall first loads; use 'All' to show all posts on load. |
*comments.showMoreNum |
int |
50 |
The number of comments that will be revealed when the 'view more comments' link is clicked for a story. |
*likes.show |
boolean |
true |
Show your Facebook account likes. |
*likes.useCoverPhotos |
boolean |
false |
Show only likes that have a cover photo defined, and use the cover photo as the like image. |
*likes.limit |
int |
5 |
The number of account likes to show. |
*albums.show |
boolean |
true |
Show your Facebook account albums. |
*albums.limit |
int |
3 |
Number of albums to show. |
*photos.show |
boolean |
true |
Show your Facebook account photos. |
*photos.type |
[‘profile’,’uploaded’,’tagged’] |
uploaded |
The type of photos to show in your photos Section. ‘Uploaded’ shows timeline photos, ‘profile’ shows your profile pics, ‘tagged’ shows photos you have been tagged in. |
*photos.numColumns |
[‘2’,‘3’,‘4’] |
4 |
The number of image columns you want in the photos Section, you may want to adjust the image height in jQueryFacebookWallWPLight.css => .Facebook-wall.timeline .photos .photo-cover-photo-wrapper |
*photos.showAtStart |
int |
12 |
|
*photos.limit |
int |
25 |
The total number of photos to retrieve from Facebook. |
*events.show |
boolean |
true |
Show your Facebook account events. |
*events.limit |
int |
10 |
Max number of events to retrieve from Facebook. |
*debug |
boolean |
false |
Print plugin debugging info in the js console. |
jQueryFacebookWallWPLight use the Facebook's graph API to retrieve your Facebook account data. Facebook needs to know who is asking for and retrieving their data; consequently, they have an authentication system to manage these needs. One way to retrieve data in this authentication system is via a Facebook App. The App in turn can request an access token, and once an access token has been acquired it can make requests for data from the graph API. Long story short, jQueryFacebookWallWPLight needs three things to get your Facebook account data:
Your Facebook username appears after the www.facebook.com/ in your browser URL. Usually it looks something like this: www.facebook.com/*yourUserName*. In other words, if you are Rick James, your Facebook URL looks something like: www.facebook.com/RickJames. Sometimes you have to look at your timeline to get your account name in the URL.

Once you have your username *yourUserName* you add it to yourplugin settings on the jQueryFacebookWall settings page in the Facebook User field.

You should be able to retrieve an Access Token via the setting page, if you cant your can try running the jQueryFacebookWallWPLight php access token retrieval script by hand. To use it:
15 $app_id = '----------------';
16 $app_secret = '----------------';
* To generate an App access token via the fb_get_app_token.php script, php must have https wrapper enabled. In your php.ini ;extension=php_openssl.dll must be uncommented. If you can’t do this you may have to contact your hosting provider or system administrator.
If your host doesn't support php, you don't have php's https wrappers enabled, or you just like doing things by hand, you can retrieve a Facebook access token by the following means:
jQueryFacebookWallWPLight plugin makes use of Facebook’s open graph API, which has various levels of authentication requirements. Facebook pages have looser restrictions than user accounts; therefore, the plugin can retrieve more info (posts and album data) for pages than normal accounts. jQueryFacebookWallWPLight will work with normal accounts, but you will not be able to retrieve album data and you will have to edit the permissions of your posts and photos in your Facebook account. If you don’t have a Facebook page, you should consider creating one. You can do so by logging into Facebook and going here: https://www.Facebook.com/pages/create/
Here are the caveats imposed by Facebook’s authentication requirements:
Yes can use the pluging with ASP and IIS! It takes few extra set up steps. You'll need to add .ejs mime types to IIS.
IIS doesn’t like the file extension of the ejs javascript templateing engine used by the plugin (.ejs). You need to add a MIME extension for .ejs with type :text/html in your IIS administration panel. If you do that everything should work . Here is an blog I found on the subject
The problem: http://forums.asp.net/t/1442319.aspx/1
How to add a mime type in IIS: http://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx
Once again, thank you so much for downloading this plugin. As I said at the beginning, I'd be glad to help you if you have any questions relating to this plugin. You can ask me question at my site. No guarantees, but I'll do my best to assist.
Lorenzo Gangi