0

I am trying to make a bio link page for my instagram page. I need to have a dynamic title. I am using

document.title = myObj.obj + " | Title"

In the app it shows: https://myurl.com/mypage And I would like it to show:

The value of MyObj.obj | The title

How would I allow instagram to show this? I have gone to chrome and it shows up perfectly fine.

Note: I see the title of the page for a second on reload.

What the browser bar looks like

benjm
  • 3
  • 6
  • Does this answer your question? [Is there a way to modify the page title with React-Router v4+?](https://stackoverflow.com/questions/52447828/is-there-a-way-to-modify-the-page-title-with-react-router-v4) – Tolumide May 16 '21 at 20:53
  • Unfourtunatly not I am using JSON to get the data – benjm May 16 '21 at 20:56
  • Just had to strt the code when the page loaded – benjm May 17 '21 at 14:39

0 Answers0