Facebook wall feeds(joomla) documentation

Extensions website changed to new site(extensions.techhelpsource.com).Please use the doc in new website here for updated content

You may configure the module to set which view it will show(profile/page/group feeds view or comments
or like button or site activity or follow button view).To configure follow these steps -


(i) Open your module from module manager.under 'module settings' tab select the view from radio button list.
(ii) According to your view you have set, configure settings for that view opening respective settings tab(like - if you selected 'comments'
view go to 'Module comments view settings' tab to configure).

To know why and how to create facebook application for getting access token which is must to run module, go to last section - "How to create facebook application"

If you getting errors (like "invalid zip" when extracting zip file or others), read the Error section at the bottom of this doc.

-----------------------------------------------------------------------------------------------------------------------------

To run the module you will need profile/page/group id, Access token. You can get these easily as follows -

Getting profile/page/group id

If you selected first view (Wall feeds of page/group/profile) from your module settings then know about how to get facebook profile/page/group
id as follows -

(i) how to get profile id

login to your facebook account, go to profile page your profile id will look like below ( example - mridulcs ) -

profile id image

(ii) how to get facebook page id

load your page.your page id will be look like this image -

page id image
sometimes your page url may be like that - http://www.facebook.com/pages/pagename/334319236534?sk=wall in this case your page id
will be 334319236534

(iii) how to get facebook group id

load your group.your group page url look like as https://www.facebook.com/groups/343432222/ where 343432222 is the id.
sometimes if your group page url look like as - https://www.facebook.com/groups/joomlanospam then getting the id is little tricky -
to get id load your group page in a browser, right click on the page and select 'view source' to view your page source.then find(ctrl+f) for
'group_id' and you will see 'group_id=34343434' somewhere.that's it your group id is 34343434

If sometimes you see 'no posts to share' in profile/group/page feed then go to 'Module 'wall feeds' view settings' tab in module
and select 'yes' for 'Show guest entries' field

-----------------------------------------------------------------------------------------------------------------------------

Getting Access token

You will need 'Access Token' if you selected feed view.Without access token feed display will not work.follow these steps to generate
access token -

(i) Generate access token -

1. Login your facebook account -

2. Read the "How to create facebook application" section below to know how to create your facebook application and use it's app id and security code
to generate access token.After that go to token genearation page here access token generation link & generate token, you will see your access token in response
which is shown below.here bold blue text is your access token (don't copy last text - "&expires=5182284")

access_token=AAAB7NiZAvdGABAOjOuBBpFmYYV5ZCDFSFFGFGFGFGFFGFGZCkWwRoSzB7PJAwvIzBNGeyfAZDZD&expires=5182284
put this access token code in module's 'Access token' box under "Module 'wall feeds' view settings" tab

-----------------------------------------------------------------------------------------------------------------------------

How to create facebook application

If you have not created facebook apps before or have not registerd as a developer then follow from step-1 below Else if you created apps or registered as developer before then start from step-3 -

step-1: go to this link - https://developers.facebook.com/apps

step-2: click "Register as a Developer"/"Register now" button.A popup will appear as shown below.There check the policy acceptance check box and click continue.
In the next step you will be prompted to verify your account by entering mobile phone number, following image shows that -
register_developer_window_image

enter your mobile number and verify and clicking continue buttons complete rest of the steps by entering compulsory inputs.

step-3: If you completed step-2, you will see a "developer" section there at left side in home page of your facebook account.
click developer link or https://developers.facebook.com/apps to go to your apps page. there you will be seeing your created apps listed,
click 'Create a new app' button which is located under "Apps" menu item dropdown (Apps->Create a New App), following window will appear -

create_app_window_image

Enter display name(app name) and category only and leave other fields blank, then click "create app".Next you will be prompted to enter captcha as
security check and if you complete this, your app creation is complete and you will see that application's dashboard page as shown below.
this page also reachable from your account's home page under developer section by clicking on that app.

Now you have to do the real part.Click "settings" from app's left hand menu to go it's settings page, there in basic settings tab, click
"+ Add Platform" button at bottom and a pop up window comes up where a lot of platforms listed.Click "Website" in that popup then a website section will be added
as shown in the final picture below.After that in that section enter the site url in "Site URL" field from where you will generate access token.In that
case it will be my token generation site.So enter that address - http://extensions.programminghelp24.com/ and click "save changes" at bottom to save changes for your app.

app_basic_settings_image

Finally, you need to make your app live so that it is accessible from anywhere to make feed display work.To do that click "Status & Review" link from left
hand menu of the app.After that chose "Yes" option for the field says - "Do you want to make this app and all its live features available to the general public?"
then confirm to make your app live and public.

In the above picture App ID and App Secret codes(click show button to see secret code) you will need to enter in the boxes in access token generation page -
access token generation link

That completes applicaton creation and configuring.
--------------------------------------------------------------------------------------------------------------------------------

Errors may arise -

i) If you get zip file related error (like zip is invalid...) while extracting the extension zip file to access the main installation zip inside then install winrar
zip program available for free here http://www.win-rar.com/download.html & afterwards extract the extension zip with winrar.

ii) if you ever get access token related errors use this link - access token generation link to generate your access token
Access token will expire if you change something in your account setting e.g password.so you will need to generate token again.
For facebook page or group any access token will work , its not important that profile amdin need to generate the access token

iii) if you get Unsupported get request errors, then make sure the facebook id you entered is right

iv) like box is not appearing in my Group Wall Feeds - like box is only for facebook business pages only not for groups

v) only last two comments appear per post & "view all comments" buton not showing - That's because facebook deprecated some fields,
nothing to do,need to code to match new changes from facebook

vi) If you get errors related application like "Error validating application. Application has been deleted" - That's because the facebook,
application by which you generated access token is deleted.Try to generate token by using your application, view How to create facebook application
section above.There are many reasons why app deleted like
1. facebook bugs
2. using the app to do facebook development not following policy - https://developers.facebook.com/policy/ properly like if you post or
comment by same text( like "test comment") to a facebook page by graph api again and again in a short time, then it look like spammy to facebook,
these kind of violations written indirectly in policy.

to be sure facebook application will not be deleted, don't use ur application by which you generated token for other developments improperly.

vii) If your page/group profile picture not appears or a question sign comes up when displaying feed, it may be because of some restrictions you set in
page/group/profile settings.For instance, in a page settings if "Age restrictions" setting is set to "Alcohol-Realted" then a question mark will
appear instead profile picture.Likewise find out other restrictions you set for which this kind of problems appearing until it's solved.
--------------------------------------------------------------------------------------------------------------------------------

for more help email at - mridulcs@yahoo.com, mridulcs2012@gmail.com or use contact page of extension website

for chat skype/yahoo messanger id - mridulcs



Window size: 1440 x 870
Viewport size: 1440 x 766