tags:

views:

2919

answers:

4

I would like to place a link from my application's narrow profile box to it's application tab on the same profile.

I have combed through the FBML documentation to no avail. I have posted this question on the Facebook dev forums. I have experimented with pasting the URL of the tab into the profile box link without success (ajax may be getting in the way?).

Any thoughts would be appreciated.

+3  A: 

You asked this a very long time ago, but it ranks well in Google for some search terms so here goes:

To link to a specific profile tab you can use the following href in your anchor

facebook.com/profile.php?id=123456&v=app_654321

obviously you need to replace the profile id and app id with correct values.

With the new short urls you may use this href

facebook.com/shorturl?v=app_654321

Both will load up the users profile with your apps tab already selected.

Harry Bailey
Awesome! I still might need this... Thanks!
HectorMac
Thank you.. I've been searching for this now for three days and have found it here!
Frederico
+1  A: 

Hey guys,

That link would bring you to the main page of that tab, however, what if wanted to go deeper than that?

Say for example, from the main page of that tab I have a menu, which has page1, page2, page3 etc.

I am trying to create a url to go directly to page2.

When I look at the url during browsing I see something like..

http://facebook.com/profile.php?id=123456&v=app%5F654321#/profile.php?fbhref=page2.php

Problem is, if you use that link directly it will send you to the tab main page.

Does anyone have any ideas? Really appreciated.

Tony
I believe the profile tab is a single page.To navigate to other pages you would have to link to application pages using your application's url (effectively leaving the profile tab).Depending on what you are doing on the other tabs you could deliver all the content in the one request and dynamically hide/show tab content via javascript.You could also use ajax calls to refresh content based on tab selected.
HectorMac
I'm still trying to figure this out.. Please if anyone has any ideas on it I would appreciate it.
Frederico
+1  A: 

It is possible, but not with the profile.php... It always redirects to page wall, no matter of v parameter. The only way I know is to give a direct link, ie.

http://www.facebook.com/MichaelJordan?v=info

The problem is that you have to know this name in the link (MichaelJordan).

To go to your application's tab, you need parameter v=app_APPID

idbof
A: 

I'm trying to find a reliable solution to the issue of linking to sub pages of a tabbed application for Facebook, also. The issue is that the tabbed applications are loaded via AJAX. Facebook always requests the link stored as the Tab Url in your application settings despite adding querystring parameters to the url.

If you have a list of items on the tab home page and each item links to a detail view, you may want to link directly to one of the detail views from another site or share a direct link with FB friends. That does not seem to be possible.

Any help would be appreciated.

Corgalore

related questions