 in a 3 different ways like so:
window.opener.postMessage({success: this.state.success}, this.state.page);
window.postMessage({success: this.state.success}, this.state.page);
parent.postMessage({success: this.state.success}, this.state.page);

But it seems that the listener's function is not being triggered.
I think the issue is with the popup page self reload when loading the social oauth page then the response URI.
Because if i add window.postMessage({success: true}, this.state.page); before the reload my parent page gets the data.
What confuses me the most is that if i add window.opener.location.reload(); under the postMessage (after the popup reload) my parent page does reload which means it does remember who opened it so why does window.opener.postMessage({success: this.state.success}, this.state.page); not working? is the listener just die when the popup reloads?
What am i doing wrong? is there an other way of doing this?
Thanks!

A: I was able to solve my issue.
First of all here is the correct postMessage: window.postMessage.
In my example i passed window.postMessage({success: this.state.success}, this.state.page); the this.state.page value has to be a string since the listener is expecting to receive a'message'.
That means that i have to convert any object to string using Json stringify for example.
Doing that and passing my values as a string (then parsing it) solved my issue.
I graduated at Università La Sapienza, in Rome, where I come from. I was then awarded my PhD in Italian studies 2016 by the University of Warwick (UK). I have been a visiting fellow at Scuola Normale Superiore in Pisa, Seton Hall University, Queen Mary University of London. My research tackles representations of time (timelines, time travel, time names, continuity and discontinuity of time) in Italian theory and literature, particularly of the 19th and 20th centuries. My first book, “Rebuilding Post-Revolutionary Italy: Leopardi and Vico’s New Science”, is currently in press by the Voltaire Foundation of Oxford.
PROJECT OUTLINE: ‘Italicity’ is a term recently coined to describe delocalized Italian identity (i.e. Italian communities abroad, writers of a different background who write in Italian) as opposed to nation-bound Italian-ness. However, Italian identity has for a long time confronted itself with the phantom of ‘Italics’, that is to say, those peoples who lived in the peninsula before the rise of Rome, which almost completely destroyed them. The term ‘Italic’/’Italicity’, therefore, has a history which I intend to uncover. Due to the mysterious nature of these peoples (they left little or no trace of themselves) and their being isolated in a remote past as well as in a peripheral space (the Italian South and the countryside), the culture of ancient Italians became in time a perfect ‘open’ space to project the obsessions and cultural tensions of modern times. My project will produce the first comprehensive study of the projections and manias originating from the myth of ancient Italians, from the Italian Unification period to date, including the tradition of Italian horror and science fiction that deals with the idea of the uncanny return of Italic peoples in ghostly, uncanny, phantasmic forms. I will devote special attention to how ‘Italic’ identity challenged the traditional line of descent from ancient Rome as a peculiar feature of Italian identity. This forces us to decentralize our viewpoint on Italy, muddling the notions of nationality and ethnicity as fixed in time and space.A three-part series examining one of marketing’s most misunderstood media spaces.
When fraud allegations were leveled at point-of-care giant Outcome Health last fall, the company’s clients weren’t the only injured parties. POC networks going about their business the “right” way — accurately representing the volume and location of their screens and signage, as well as the content on it — were compelled to defend their own practices.
Similarly, just about every other peripheral POC player faced questions about the credibility and viability of the space at large. Fairly or no, the POC space became a flashpoint for debates over transparency and accountability.
Ten months later, the waters have calmed. While holdouts remain, a majority of marketers and POC media buyers seem to have come around to the belief Outcome’s fraud was an isolated incident, as opposed to a systemic malady.
However, execs in and around the POC realm are united in their curiosity as to why industrywide auditing and verification standards haven’t been formally codified, whether by the Point of Care Communication Council (PoC3) or another organization. Around the time the Outcome Health news exploded into public view, PoC3 said its validation and verification standards were on the way. As of mid-July, the group continued to point to a POC buyer’s guide and a statement about campaign-level auditing best practices as its most current guidance.
Many industry players are wondering why it has taken so long. “Prior to Q4 last year, I don’t think [PoC3] was very focused on compliance measures or auditing,” says Paul Theisen, founder of PlaceBridge, a third-party provider of auditing and verification services for the POC space.
“The standards should already have existed when this mess happened,” Goldberg adds.
Others wonder if PoC3 should be the definitive voice on such matters. They believe it’s less a representative industry organization than an alliance of POC networks. The group’s current members are Constant Media, Health Media Network, Health Monitor Network, Mesmerize Marketing, OFX Media Group, PatientPoint, and Phreesia. Outcome Health withdrew from PoC3 this past November.
Of course, missing from that list are companies from the media buying and planning and agency worlds, as well as POC-adjacent vendors and technologists. Not surprisingly, individuals who work at these organizations feel left out of the dialogue around POC transparency and validation.
To that end, some of them are in the process of doing something about it. Buyers from a range of A-list media organizations, including representatives from Interpublic Group’s Healix, MDC Media Partners, Omnicom, and WPP’s Wavemaker, have formed an association of their own.Its very existence suggests the buying community isn’t satisfied with what they’ve heard from PoC3, which they see as pushing solutions more akin to certification than full-fledged auditing. Still, the goal remains the same: to shore up the vetting process and reaffirm their comfort with investments in the POC channel.
The PoC3 leaders believe they’re on the cusp of creating verification and validation standards that will satisfy most POC players. While the organization declined to share draft language, the standards will likely include confirmation of screen and signage locations, as well as the HCPs associated with those locations; independent, in-person audits of POC locations; and campaign-level verification of content on the screens.
Goldberg, for one, is on board with anything that results in a better POC environment. “Getting this done right is time and money well spent,” he says.
For the second part in “The New POC Landscape” three-part series, click here.
For the third part in “The New POC Landscape” three-part series, click here.
When I first got my dog, I felt the same way. We didn't bond immediately like I thought we would, and I work from home so I was with her 24/7. She was also understandably anxious because she was in a new situation, which made me anxious. I called my husband crying many times because I didn't know how to handle her.

But we hired a trainer to come to our home, who mostly was a trainer for \*us\* -- she helped me feel like a more competent dog parent. I slowly started to bond with my dog as she settled into her new home. If you have the budget for that, I would totally recommend having a trainer come work with you.

We've now had her almost a year and a half, and I still work from home and she's the best companion I could ask for, even if she's just sleeping on the couch while I work.Today I got many questions about KWin and Mir, how it affects us, what it means for our Wayland plans and so on. I did not want to write anything about it because I think there is nothing to write about, but before answering the same question again and again I think it’s better to put down a few lines here. Wiki will be updated once Wayland wiki is updated so that we have something to link to.
First question: Does Mir affect us? Yes, obviously. Because of Mir I have to write this blog post, Wayland developers have to get the FUD out of the Mir documentation, it’s creating tension and it harms the development. We will have to face again and again the question whether Wayland is better or not. So yes it affects us and I’m not happy about it.
Second question: Does it affect our plans for Wayland? I think it would be very unprofessional if we would change our plans just because Canonical did an announcement that they want to do an own display