Developer Corner

Get involved with the project. Meet fellow developers. Stay informed on the latest news.

How to build the project

For End Users (who just want to test it)

1. Download the WAR file (from the downloads page)

2. Paste that WAR file in the hot deploy folder of your Liferay installation (or follow any other mechanism you follow to deploy plugins to Liferay)

3. Go to any page in your portal, click on Add --> More and select the category "Facebook Integration". Now you can add the portlets to your page

For Developers

1. Obtain the sources from github (the sources contains a full Liferay plugins SDK for 6.1, so the configuration is the same as for any other Plugins SDK you may be already using. If you are not using yet any Plugins SDK follow the next steps.

2. Install Apache Ant and make sure ${ANT_HOME}/bin is in your $PATH.

3. Create a new file inside the Plugins SDK folder called build.[your-user-name-in-this-computer].properties (you can find your user name executing SET in Windows or whoami in Unix) and set the properties app.server.dir (the path to your application server folder) and auto.deploy.dir (the path to your auto deploy folder).

For example, if you are using tomcat and your username is "juliocamarero", then create a file called build.juliocamarero.properties in the top-level SDK folder (the same folder in which the base build.properties file resides), and in this file, add these lines:

app.server.dir=/Users/juliocamarero/proyectos/liferay/bundles/6.1/ga1/tomcat-7.0.23 auto.deploy.dir=/Users/juliocamarero/proyectos/liferay/bundles/6.1/ga1/deploy

4. In your console, go to the folder [Plugins SDK Base]/portlets/fb-integration-portlet/ and execute ant deploy

5. Go to any page in your portal, click on Add --> More and select the category "Facebook Integration". Now you can add the portlets to your page.

6. You may need to set up your portal as a Facebook application in order to allow Facebook users to use your applications. In order to to this, go to Control Panel --> Portal Settings --> Authentication -> Facebook

Getting Involved

This project is a joint effort among Liferay community members, to provide a solid integration with Facebook.  As such, we are always looking for new volunteers who can help with the project's goals!  Visit the overview page and contact the founder to get involved!