How to make the site URL(of Facebook App) dynamic using java and/or javascript
<p>I have created a Facebook App and have set the site url as (for eg): 
"://../myDemo/home.ant"</p>

<p>now what i want is:
if the user is having its locale as french(fr),
and when user sends the App request to his friends(through FB.ui), his friends should redirect to the "fr" site on clicking on the Apprequest on their walls.</p>

<p>can i set the site url of FB app dynamically, or else is there any other solution.</p>

<p>Please check the requirements below:
1. To have a single app for different locale users.
2. The receiver of the AppRequest will be redirected to the site whose locale is dependent on the sender's locale. </p>

<p>Thanks in Advance.</p>
