0

I want to get Name of Facebook page on which my FB App is installed.The app is built in JSP & it is rendered in an Iframe on canvas page.

I have gone through a similar question asked here but that explains the way to achieve this in PHP. I have also found another implementation on C#.

But I didn't find any implementation using jsp. Please suggest a solution either in JSP or even Javascript would do this for me.

Regards
Yogesh

Yogesh Pitale
  • 115
  • 1
  • 1
  • 11

1 Answers1

1

Found a solution sergiy's site which explains authorization flow in detail! Superb explanation indeed! I Just tweaked lines after obtaining JSON object (data) as

String PageId=((JSONObject)data.get("page")).getString("id");

Yogesh Pitale
  • 115
  • 1
  • 1
  • 11