Steps To Create A New Facebook App (I follow this)


The steps that I follow to create a Facebook App :
1. create a folder say my_new_app(copy any previous app) for the new facebook apps locally.
2. Give all the permission.
sudo chmod -R 777 .   (for giving permission to a full directory)
sudo chmod -R 777 file_name   (for giving permission to file)
3. Delete all svn files from the folder(if any):
find . -name ‘.svn’ -print0 | xargs -0 rm -rf

Note: If the above code doesn’t work, delete the single  quote of .svn and put single quote manually.
4. Create a place for the app in the development server
mkdir my_new_app
5. Create an app in facebook from developers.facebook.com
6. Create a database for the app.
7. Add your local copy to svn
svn add my_new_app
8. Commit your local copy to svn
svn ci my_new_app -m "Nazir"
9. Now got to that folder in the production
cd my_new_app
and execute the below command
svn co svnurl .   (svn url – http://svn.mydomain.com/apps/apps/my_new_app/)
10. Adding that App to a Page
Paste the below URL in your page’s URL bar and place the app id and app url
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL
Its Done

Posted in Facebook Apps Development, Personal Diary

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me on Twitter

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 442 other followers

%d bloggers like this: