get current window url with fbjs in iframe

I am facing with a problem when getting current window's url (facebook connect, iframe app). I could not get it with fbjs (strangely, there's a setLocation method to set url, but there's no method to get url), because facebook converts all javascript into fbjs. Did anybody has face with this problem?


It is not possible to get the current page's location or any part of the url with fbjs.

Additionally fbjs is no longer recommended. You should now be building applications with iframe and new javascript sdk

Need Your Help

Drag and Drop into a textbox

php javascript ajax drag-and-drop

I have a list of people on the left hand side of a page, this list is populated by PHP.

Fetch data from core data multiple entities

objective-c core-data

I am new to Objective-C and Core Data. I am working on a small project as part of my learning. I created Core Data with entities such as Product, OrderItem, Sales and Supplier.

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.