Your question has helped me, I was attempting the server flow so that I could refresh the token for the user, but I switched to Client Flow instead and was able to get a bearer token. I do get a javascript error on the tbevents.js file. 11/7/2019 2:20:18 PM: Script error. 11/7/2019 2:20:18 PM: https://connect.facebook.net/en_US/fbevents.js But it seem's the client flow has been more forgiving, and that js file isn't required to gain a token.Thanks for the nudge!
... View more
Let me begin by explaining what I'm trying to accomplish. Using Delphi 10.2 to compile. We have a windows desktop program (not a web based app) that uses browser emulation for IE7 through IE11 depending on what version of windows the person is running. We don't need to display a page with the redirect URL, we just get the Authorization Code after clicking 'allow' and then hit the token exchange endpoint. This method works for a couple other integrations so I'm not trying to get new code to work. The main issue is nothing happens when I click 'allow'. Here's the log of each page request and completion that I see through the TWebBrowser. Signing In: 11/7/2019 11:48:05 AM: Before Navigation - https://login.constantcontact.com/login/login.sdo 11/7/2019 11:48:06 AM: Completed Navigation - https://idfed.constantcontact.com/as/Am6XvWBimo/resume/as/authorization.ping?resume=/as/Am6XvWBimo/resume/as/authorization.ping&spentity=null And here's where I click 'allow'. The page never completes navigation. I actually click it twice. I think it's trying to do something with the resume but can't seem to complete the navigation. 11/7/2019 11:48:08 AM: Before Navigation - https://idfed.constantcontact.com/as/Am6XvWBimo/resume/as/authorization.ping 11/7/2019 11:48:08 AM: Before Navigation - javascript:void(0) 11/7/2019 11:48:12 AM: Before Navigation - https://idfed.constantcontact.com/as/Am6XvWBimo/resume/as/authorization.ping 11/7/2019 11:48:12 AM: Before Navigation - javascript:void(0) Let me know if anything obvious sticks out here, or if you've seen anything like this in the past!
... View more