Redirect after photo upload and avoid showing graph api endpoint response - PHP SDK 3 -


I am trying to create an iframe app for my work, through which the user will have a photo Can upload.

I have managed to get the photo to upload - but once the photo is uploaded, my app only shows the new photo ID (endpoint response) and everything else from the iframe (As shown in the second link below).

I want to be able to redirect to a successful page or even want to return to my app without showing it 'endpoint response'.

I'm using this tutorial to upload

and

.

This is the first time that I have tried to make a Facebook app and I am really fighting, any help will really be appreciated.

Cheers,

Andy

If you are a page If a condition can be corrected then the condition is correct (the image has been uploaded), the header may be the answer ("Location: URL"). There are two concerns when using the header space:

1) Make sure the URL you are redirecting to is Full (inclusive)

and

2) Nothing could be output before your header Consider this example:



Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -