Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social Share in popup #22

Open
AndreaGelmini opened this issue Apr 16, 2016 · 0 comments
Open

Social Share in popup #22

AndreaGelmini opened this issue Apr 16, 2016 · 0 comments

Comments

@AndreaGelmini
Copy link

Hello and thanks for the great plugin is very useful to me .
I'm working on a site with wordpress , specifically in a section with social buttons to share posts and pages .
When I try to open the link by sharing on facebook me this error appears in consol

XMLHttpRequest cannot load https://www.facebook.com/sharer/sharer.php?pt=url&pw=520&ph=350&phu=http://agconsulting.altervista.org/test-nl-aef/consulenza/test-prodotto-3/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://agconsulting.altervista.org' is therefore not allowed access.

While surfing I found this possible solution , just do not know how we can implement .

`Use this line given below instead of header() function.

echo "window.top.location = 'https://apps.facebook.com/yourappnamespace/';";`

Unless you have not already a solution for social popup.

Ciao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant