I'd like to have access to sharepoint's query string from inside of my app. Since the app is hosted in an iframe, I tried just using
window.top.location.search, but that gives me an error since the URL is different for my iframe vs. the parent window.
Is there a way I can see the query string of the SP url inside of my app? If not, how can I pass dynamic data easily to my app through a link, like I could with a query string parameter?