Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change facebook app profile page

I have a facebook application and when it posts to a users stream it shows the application name and clicking that directs the user to the applications profile page. Is it possible to change this link to another page or set the application profile page to load another page?

like image 567
Darren Hull Avatar asked Dec 12 '25 22:12

Darren Hull


1 Answers

I'm not sure about changing the link but you can make one page automatically load another page.

See an example on our fan page here: http://www.facebook.com/pages/Premier-League-Prophet/193957803989227

When you visit this page it automatically redirects to our app profile page instead at http://www.facebook.com/apps/application.php?id=105260882892290

1) Add the "Static HTML: iframe tabs" app to your page. This lets you configure any static HTML as the source for a page tab.

2) Use a quick bit of redirect code so that when the tab loads it automatically redirects the browser to where you want to go:

<html>
  <head>
  </head>
  <body>
    <script language="JavaScript">
      // Redirect to chosen destination
      top.location.href = "http://www.googl.com/";
    </script>
  </body>
</html>

3) In the page config, set the new tab as the default tab for the page.

One small limitation. The default tab setting is only respected if the user has not yet liked the page. If they have liked the page, then the wall is displayed by default. However, if you're configuring the page to auto-redirect, this shouldn't be a problem, because no visitor to the page will stay on it long enough to like it.

like image 119
njr101 Avatar answered Dec 15 '25 15:12

njr101



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!