Home Forums Newsletter Plugin Support Newsletter Facebook Tab

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9043
    jayjay1
    Participant

    Hi there,

    I would like to have a facebook app tab, where the facebook page fans can subscribe to the newsletter. The facebook app tab iframe must be on a different server than my WordPress installation.

    I found this post describing a similar feature:
    https://www.thenewsletterplugin.com/plugins/newsletter/newsletter-forms

    Can I have the form action url, which the form is pointing to, on a different server too? Because if I insert the normal action url, I think it won’t work on Facebook.

    Thanks in advance,

    Joel

    #9050
    Stefano
    Keymaster

    The facebook tab in a page is an iframe, so you have the full control of that content. And yes, the form can “point” to a different server, there is no problem.

    Pay only attention that if you change the domain pointing to a different server and go out of the https, if your original tab is in https, the user may receive an advice from the browser.

    #9064
    jayjay1
    Participant

    Thanks for the reply.

    I made a HTML form and a PHP script on a different server, which now is my iframe content on facebook. For requesting the Newsletter membership, the PHP script will send a HTTP request to my WordPress host submitting the email address by a GET variable:

    file_get_contents("http://yourwp.com/wp-content/plugins/newsletter/do/subscribe.php?ne=yourem@il.com " );

    There is no SSL encrypted connection on my WordPress site, so this proxy works fine for my setup.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.