Easy Steps How to Make Apps on Facebook .. Check More
Tuesday, 8 October 2013
Add Comment
How
to make apps, you need to know , if facebook already provides APIs ( free )
that you can use in your application . integrated features like this will give
you " impression " as if - as if we never moved from facebook ( read
: social networking ) . maybe if got time , project an application in facebook
seems to be an interesting thing.
Gath adam has an article on how to make apps facebook in 10 minutes . Very good article for beginners like me .
Ok , we go straight to the core of practice ..
Step 1 how to make apps: Create a demo page
This page is a page that can be seen on the canvas user . I have not got , please copy the following sample numbers guessing game and uploaded on the web .
<script type=text/javascript>
var iRandom ;
Restart function ( )
{
iRandom = Math.floor ( Math.random ( ) * 10 ) +1 ;
alert ( ' OK , I am thinking of a number between 1 and 10 ' ) ;
}
Guess function ( )
{
yourGuess var = document.getElementById ( ' myGuess ' ) . value;
if ( yourGuess > iRandom )
alert ( ' Too High . ' ) ;
if ( yourGuess < iRandom )
alert ( ' Too Low . ' ) ;
if ( yourGuess == iRandom )
{
alert ( ' Well done ! You guessed it . ' ) ;
Restart ( ) ;
}
}
< / script >
<div> Enter your guess between 1 and 10 : <input type=text id='myGuess' name='myGuess'>
<input type='button' onClick='Guess()' value='Guess'>
<br>
<br>
<input type='button' onClick='Restart()' value='Start Again'>
<script type=text/javascript>
Restart ( ) ;
< / script >
Gath adam has an article on how to make apps facebook in 10 minutes . Very good article for beginners like me .
Ok , we go straight to the core of practice ..
Step 1 how to make apps: Create a demo page
This page is a page that can be seen on the canvas user . I have not got , please copy the following sample numbers guessing game and uploaded on the web .
<script type=text/javascript>
var iRandom ;
Restart function ( )
{
iRandom = Math.floor ( Math.random ( ) * 10 ) +1 ;
alert ( ' OK , I am thinking of a number between 1 and 10 ' ) ;
}
Guess function ( )
{
yourGuess var = document.getElementById ( ' myGuess ' ) . value;
if ( yourGuess > iRandom )
alert ( ' Too High . ' ) ;
if ( yourGuess < iRandom )
alert ( ' Too Low . ' ) ;
if ( yourGuess == iRandom )
{
alert ( ' Well done ! You guessed it . ' ) ;
Restart ( ) ;
}
}
< / script >
<div> Enter your guess between 1 and 10 : <input type=text id='myGuess' name='myGuess'>
<input type='button' onClick='Guess()' value='Guess'>
<br>
<br>
<input type='button' onClick='Restart()' value='Start Again'>
<script type=text/javascript>
Restart ( ) ;
< / script >
page to see the results of the above
code sample , please see http://gathadams.com/guess.htm
log in Facebook -
Step 2 : Install Application Developer
visit https://developers.facebook.com/apps
Step 3 how to make apps: Create an Application
click the ' create application ' .
Step 4 how to make apps: Fill in Application Details
Form fields that need to be considered :
- Application Name : fill in the name of the desired application .
- Callback Url : fill with a url path to the actual application . use the ' / ' at the end . example , if the application is in http://urldomain/application/app_name/guess.htm , then filled with http://urldomain/application/app_name/ Callback Url .
- Canvas Page URL : folder name for the application in facebook . unique .
- Option FMBL / frame : depending on needs . if the stand-alone application ( like the example code above ) , preferably using frames .
Step 5 how to make apps: Submit the application
it takes 5 people using the application before it can submit an application to the application directory .
Step 6 how to make apps: Mission Complete !
applications that are already accessible in http://urldomain/application/app_name/guess.htm http://apps.facebook.com/ <Canvas Page URL> /
log in Facebook -
Step 2 : Install Application Developer
visit https://developers.facebook.com/apps
Step 3 how to make apps: Create an Application
click the ' create application ' .
Step 4 how to make apps: Fill in Application Details
Form fields that need to be considered :
- Application Name : fill in the name of the desired application .
- Callback Url : fill with a url path to the actual application . use the ' / ' at the end . example , if the application is in http://urldomain/application/app_name/guess.htm , then filled with http://urldomain/application/app_name/ Callback Url .
- Canvas Page URL : folder name for the application in facebook . unique .
- Option FMBL / frame : depending on needs . if the stand-alone application ( like the example code above ) , preferably using frames .
Step 5 how to make apps: Submit the application
it takes 5 people using the application before it can submit an application to the application directory .
Step 6 how to make apps: Mission Complete !
applications that are already accessible in http://urldomain/application/app_name/guess.htm http://apps.facebook.com/ <Canvas Page URL> /
0 Response to "Easy Steps How to Make Apps on Facebook .. Check More"
Post a Comment