facebook app host help

squall2

New Member
Messages
3
Reaction score
0
Points
0
hey,

im a total noob at facebook apps and i would be really grateful if anyone could help me through the process of getting an app hosted on my free database with x10hosting.

I have the script for the app, its just a crappy free practice one really but in the instructions that come with the app script it says:

upload the .php file to your database = done, database build some tables and lines or soemthing
edit the config file = facebook API and secret changed, not sure what to change the canvas url too, here is what is in the config file

// Callback URL and Canvas page URL
$appCallBackUrl = 'http://SQL09.FREEMYSQL.NET'; --------------------- unsure if thats the right url here
$appCanvasUrl = 'http://apps.facebook.com/do-u-match/';

// Replace with your Application Title
$appTitle = 'Do-U-Match?';


// Database Settings
$dbhost = 'SQL09.FREEMYSQL.NET'; ---------------------- does it need to point to a directory? if so how
$dbuser = 'squal2212';
$dbpass = 'XXXXXXXXXXXXXX';
$dbname = 'doumatch';--------------------------------- "name" of my databse



then the instructions say "upload other files to server" so do i just upload the other files to my webspace here at x10hosting? how do i think link that to my database?


if you understand anything of what i ask please help :) basically i need someone to take me through getting an app hosted on here

thanks a lot :)

chris
 

JawazaD

New Member
Messages
35
Reaction score
0
Points
0
hey,

im a total noob at facebook apps and i would be really grateful if anyone could help me through the process of getting an app hosted on my free database with x10hosting.

I have the script for the app, its just a crappy free practice one really but in the instructions that come with the app script it says:

upload the .php file to your database = done, database build some tables and lines or soemthing
edit the config file = facebook API and secret changed, not sure what to change the canvas url too, here is what is in the config file

// Callback URL and Canvas page URL
$appCallBackUrl = 'http://SQL09.FREEMYSQL.NET'; --------------------- unsure if thats the right url here
$appCanvasUrl = 'http://apps.facebook.com/do-u-match/';

// Replace with your Application Title
$appTitle = 'Do-U-Match?';


// Database Settings
$dbhost = 'SQL09.FREEMYSQL.NET'; ---------------------- does it need to point to a directory? if so how
$dbuser = 'squal2212';
$dbpass = 'XXXXXXXXXXXXXX';
$dbname = 'doumatch';--------------------------------- "name" of my databse



then the instructions say "upload other files to server" so do i just upload the other files to my webspace here at x10hosting? how do i think link that to my database?


if you understand anything of what i ask please help :) basically i need someone to take me through getting an app hosted on here

thanks a lot :)

chris

phpMyadmin
MySQL

n i dont think x10hosting will allow u to host 3rd party apps script for facebook... :dunno:
:nuts:
:thefinger
 

normandy333

New Member
Messages
3
Reaction score
0
Points
0
I'm not actually sure about the policy towards facebook apps. The ToS specifically states:
Script Hosting: Space provided by x10Hosting is to be used to create a functional website, we do not allow bots, content scrapers, or any other script that runs continuously on your account. Any scripts that are executed via cron or manually must be directly related to your website.
However, it is unclear to me if hosting a facebook app (which definitely is not a bot, content scraper, or otherwise continuously run script, inasmuch as any other php page is a continuously run script) is considered to be a violation of this rule. I personally do not think it is, so long as the app is directly related to the website (i.e. an app that uploads content directly to facebook from your website).
 
Top