Can't get proper signed_request info after redirect within FB Page tab App

Initially upon landing on the app, $facebook->getSignedRequest(); gives me the proper info I'm looking for, like info about the current page etc. But then after clicking through links within the app the returned array from $facebook->getSignedRequest() is different. It contains [code] but nothing about if the page is liked etc

How can I resolve this? Is it rather best practice to change pages within the app via parent.location.href ?

Answers


Redirects within your app will not receive the signed_request parameter. You'll have to manage saving that data yourself (in the session variable for example).


Need Your Help

How to get Table A all data with tables B only rows which matches with Table A

mysql sql join

I have two tables I want to select all the records which presents in table location with cardId 2, and if a location is mapped in location_card table then name of the location

When does Spring create instances of objects that are injected

java spring dependency-injection

Spring does DI and creates objects so that your program need not worry of creating objects.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.