So, I have an app in development. It’s purpose is for people to upload drink recipes and to be able to view other people’s uploaded drink recipes. Each drink recipe, when clicked on, fades in a mini-canvas box and makes the background fade dark. Each drink recipe has a “like” button within the now-visible drink recipe popup, and each of these drink recipes can be accessed through the URL. The drink is shared so that the shared link doesn’t just lead to the page with all the recipes listed, but the actual shared recipe popup:
http://www.example.com/myapp.php?user_id=10009098039&dname=MyDrink
The user_id and dname will run through a function that displays the drink recipe popup.
Because the app is housed in my testing website and displayed through Facebook, which uses an iFrame to display it, a drink cannot be shared because the link will take the user back to where the app is housed. Is it possible to be able to manipulate the iFrame with the parent window’s link?
or something of that nature.
Thank you. Please let me know if this isn’t clear enough.
You should use app_data and extract it from the signed_request. See: https://developers.facebook.com/blog/post/462