Redirect to Modal dialog page oracle apex - oracle-apex

I have a page after process redirect to modal dialog page (tow page it's public) . the modal dialog only for alert ,and i have a dynamic action in modal page to close and redirect to another web site .
i have a problem the page always loading ,like a picture how i can solve this problem.
i try it in other application it's work fine but i don't no what happened in this application
please any advise to solve this problem

If you are trying to open another site in iframe, it can be restricted by your application security policy:
Shared components -> Security Attributes -> Browser Security -> see "Embed in Frames"
You also can check your browser "Network" dev tools and APEX debug.

Related

devtools: Open response HTML in new tab

If an ajax/fetch request fails, my framework (django) displays a nice debug page, which contains a lot of useful information.
In chrome devtools I can see a preview of this debug page. But the window in the devtools is way too small.
Is there a way to open the output of the POST request in a new tab?
If I use right-button-click "open in new tab" then chrome does a GET. But the GET does not trigger the exception which I would like to debug.
I think the best you can do is recreate the scenario in Postman. Postman has a tool called interceptor which syncs cookies and captures requests from Chrome.
Postman interceptor uses a chrome extension which sends the captured requests to Postman app if you enable interceptor from the app.
But there could be security risk that the chrome extension will have Site access to all pages, maybe you can limit it by limiting the site access from extension settings(from settings>extensions>Postman interceptor):
Alternativly, if you do not want to use interceptor, then you can copy the payload(form data) and request headers from Headers section, then put them in Postman and make a request. Or you can use requests library to do the same.
How about using the full-screen mode of dev tools instead of opening in the separate browser tab?
Click on the three dots on the right-hand side of the chrome dev tools
Click on the first option (the two overlapping squares) and it would open the chrome dev tools in the full-screen mode.
Please refer to the image below.

Facebook tab page load app doesn't pass parameter

I have an app in a facebook page tab that show some informations and this information must change for every user (ID_USER). I don't know how to load the correct data in the facebook app tab page. My app is a Django app. I've done this step:
1) create an app in my developers account (a page tab application) with this url https://www.exemple.com/ID_USER.
2) load the url https://www.facebook.com/dialog/pagetab?app_id=MY_APP_ID&redirect_uri=www.exemple.com/ID_USER
3) Select in the window the page to install the app
4) I go to the page and I found the app.
The problem is that the app is only for a user and I would like to load the right data for every facebook page the app is installed.
I've read about signed_request and app_data but I don't understand how to set app_data. Canyou help me please?
* EDIT *
The problem seems to be the django internationalization redirect from
https://www.example.com/ID_USER
to
https://www.example.com/en/ID_USER
in my network console I see
302 https://www.example.com/ID_USER (with 'signed_request')
200 https://www.example.com/en/ID_USER (without 'signed_request')
How can I solve this issue?

What is the simplest way to create a page tab on the latest version of fb?

All I want to do is create a few pages with sign up forms for our fans and customers on our business facebook page.
I created the new app, named it and went on to the basic settings. From what I can tell I just need to set up the "page tab" info. I Named the tab, put in the page tab url, secure page tab url and uploaded a tab image.
Then I wait for it to show up on our fb page. I refresh the page and for a few seconds it looks like something is being loaded in the list of tabs. But then it stops and the layout of default tabs (photos, likes, and events) are unchanged.
The tab should link to the app url which should load inside of an iframe which will have the html from our web server.
That's how I understand it anyways.
You must add manually the application on your page through this URL: http://www.facebook.com/dialog/pagetab?app_id=APP_ID&redirect_uri=https://www.facebook.com/
Remember to replace APP_ID first.

Facebook like button is not getting displayed at all when placed it in an IFrame

Facebook like button is not getting displayed at all when placed it in an IFrame. Also the iframe is loading a page from different domain. So basically it is a cross domain scenario. I have the channel file on the iframe domain setup properly.
If you load the page from the iframe normally in another tab/window, do you see the like buttons normally?

It's possible to open getLoginUrl inside facebook page iframe?

I tried to open it inside facebook iframe but it show a pic of facebook and when i click on this pic it redirect to a new window, i rly need to open it inside iframe.
thanks.
not possible according to this:
http://bugs.developers.facebook.net/show_bug.cgi?id=19838
This is intentional behaviour as the Auth dialog cannot be loaded in anything
other than Page or Popup mode. This is to protect the user experience - the
Permissions dialog needs to retain special security.