Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Nov 2012
    Posts
    69
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Creating a Facebook share link that pops-up

    I'd like to be able to create links that I can place in the photo text descriptions on my (currently unpublished) Facebook business page. This will allow me to provide people with the ability to click the link to share the actual main page, and not have to go back to that page to select share page. I understand how to create the basic link for a share:

    http://www.facebook.com/sharer/share....facebook.com/

    What I do not understand is how to write it so that this would pop-up and look the same as a share link would that is selected from the main page itself (where what you're viewing dims and a relatively small "Share this Page" appears in the center, which disappears once you're finished sharing.

    I've read that this pop-up function involves some Javascript. The window.open command? Is this correct?

    If so, where would the Javascript "go", especially since I'm utilizing this for Facebook and not my own site? Would the code be saved as a .js file, and/or would I need to create a page to host it? How would the resulting share link to place on Facebook look/be structured vs. the above?

    Thanks in advance...
    Last edited by MMM717; 05-30-2013 at 11:17 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •