FB.ui( { method: 'pagetab' }, function (response) { if (response != null && response.tabs_added != null) { $.each(response.tabs_added, function (pageid) { FB.api(pageid, function (response) { console.log('selected page id is '+pageid+', the page url is ' + response.link); }); }); } } );
Jobs said: There's no reason not to follow your heart.