Are you saying you want the app to know about the containing Facebook page? Your small code example doesn't really explain it. And by "page name" do you mean literally the title?
–
TesserexNov 18 '11 at 16:35

Thanks Moz. What I need to get though is the page's name, not the id. I can get the id by doing this.. if (!empty($_REQUEST['signed_request'])) { $signedRequest = $_REQUEST['signed_request']; list($sig, $payload) = explode('.', $signedRequest, 2); $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true); } echo $signed_request['page']['id']; But when I echo $signed_request['page']['name']; I get nothing.
–
Dustin McGrewNov 18 '11 at 18:26

1

You can then use the id to perform a request to the Graph API to get the page object - see the bit at the end of my answer :)
–
Moz MorrisNov 18 '11 at 18:30

I'm sorry... I'm fairly new to all of this. How would I pull the name from the graph? Thanks for all of your help :)
–
Dustin McGrewNov 18 '11 at 18:32