Replit "Live App URL" trick for the Back End cert

For anyone else who may have trouble with this…

I’m starting the Back End cert, and I’m using Replit. I had trouble submitting the right URL to fCC. If I just copied and pasted the Replit URL from my browser into fCC, it said that I needed to use a “Live App URL” instead. The phrase occurs nowhere in Replit’s docs. There’s a post in Replit’s forum from a year ago discussing this issue, but their fix doesn’t work anymore.

In order to get that “Live App URL,” here’s what I did:

  1. I opened the Devtools of Replit’s webview
  2. I switched to the Console
  3. I ran the command console.log(window.location.href);
    See picture:

Don’t mind the console.log("hello");, that was me fooling around lol. The important bit is the https://boilerplate-npm--shyaway.repl.co/ part. That’s the “Live App URL,” and fCC did accept that link.

Hope that helps someone else. :slight_smile:

3 Likes

do you see the New tab button in the left corner,if you press the button it will open the new window ,thet is your live url…

That also works, and it’s way simpler. Thanks lol. :upside_down_face:

Hi zaklina,
Apologies, but I’m having a similar problem in submitting the live url for the Scientific Computing with Python projects. When I click on New Tab, I just can’t see any links. Where am I supposed to look? Running the project doesn’t generate any WebView.

@AntonioRiccelli I haven’t done that cert, but it looks like you only need to submit the URL of the project, not the Live URL (because it doesn’t look like you’re making a Python server or anything). So it’d be like https://replit.com/@YOURNAME/boilerplate-arithmetic-formatter I think.

1 Like

Thank you, you are right. I found some GitHub issues where this was explained. I found it strange as, technically, you could just submit any valid HTTPS link and it will be accepted, which could lead to cheating, but I understand there was no other way.

It sounds like you’ve encountered a common hiccup when trying to submit your project URL to fCC. Thanks for sharing your workaround! If you’re using Replit for your Back End certification and need to provide a “Live App URL” to fCC, here’s a step-by-step guide to get it:

  1. Open your project in Replit.
  2. Access the Developer Tools of Replit’s web view (usually done by right-clicking anywhere on the page and selecting “Inspect” or “Inspect Element”).
  3. Navigate to the Console tab within the Developer Tools.
  4. Type or paste the command console.log(window.location.href); into the console and hit Enter.
  5. Copy the URL that’s printed out in the console.
  6. Paste this URL into the submission field on fCC.