Jump to content

Recommended Posts

I'm not sure if this is the correct place to put this because its not 100% PHP but I am using the facebook-php-sdk

if this is the wring place i'm sorry please feel free to move it.

 

anyway

 

 

I have two pages: index.php and update.php

 

index is my default page obviously and it echoes the users name and there is a link to the update.php page

 

now on my update.php page when a users goes there it sets their status.

 

here is the problem...

 

the only way it works is if I manually type in the browser apps.facebook.com/MYAPP/update.php

 

if I use the link on my index nothing happens also if I go directly to the update pgae via my hosting it also doesn't work (www.myhosting.com/update.php)

 

now in my index I have tried

<a href="update.php"> click here </a>  ---- doesnt work

<a href="/update.php"> click here </a> ---- doesnt work

<a href-"http://www.myhosting.com/update.php"> click here </a> ---- doesnt work

 

So what am i suppose to do because the only time it works is if the link is

<a href="http//apps.facebook.com/MYAPP/update.php"> click here </a>

 

if works but instead of showing the update.php it just shows the facebook logo and says "go to facebook" and then if you click that it will display the update.php info.

 

 

Thanks for the help I hope I explained that all

Link to comment
https://forums.phpfreaks.com/topic/213098-facebook-app-problem/
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.