Hi,
in case of access user's photos i need to open a iframe in my webpage.
i use this to create the url:
If i use <iframe src="{facebookUploadRedirectURL}"/> the iframe unfortunately redirects the outer website to facebook.Code:FacebookConnectionFactory connectionFactory = new FacebookConnectionFactory(clientId, secretKey); OAuth2Operations oauthOperations = connectionFactory .getOAuthOperations(); OAuth2Parameters params = new OAuth2Parameters(); params.setRedirectUri(redirectUri); params.setScope("user_photos"); facebookUploadRedirectURL = oauthOperations.buildAuthorizeUrl( GrantType.AUTHORIZATION_CODE, params);
Any workaround here?
A popup-window is not my preferred solution (because of popup-blocker).


Reply With Quote
