1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help With Facebook Viral App

Discussion in 'General Programming Chat' started by rockme12, Mar 28, 2013.

  1. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    Hi guys, I need help with creating a facebook viral app. Basically what is suppose to happen is when the user visits my site and clicks the download button, it takes them to a post to wall page from which people share and then they are redirected to my download page. How do I accomplish this, help me please!
     
  2. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    Use the FB.ui method to create a feed dialog or just redirect users to the appropriate endpoint.

    Everything you need is right here (even examples):
    Code:
    https://developers.facebook.com/docs/reference/dialogs/feed/
     
    • Thanks Thanks x 1
  3. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    It works but now I am stuck with another program that I have been struggling with for hours. How do I set it up. My site is in html so do I fill in the required information in the code and then save as html extension and upload to my host?
     
  4. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    Yep, that sounds about right.
     
  5. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    This is the code I am using for the problem I said earlier but when I fill out the required parts it doesnt work. When it gets to the part I click the button to take me there, when I click it it shows the code on the page. By the way I saved it as a php extension after I finished, my site is coded in html. Did I do anything wrong? Help me please.

    Thanks,

    Rique
     
  6. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    Sorry I'm not exactly sure what you mean by that. I'd like to help but I need more details. Can you post a screen shot or the code that is giving you trouble?
     
  7. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    problem.jpg

    As you can see, The code shows on the page that the post to wall page is supposed to show. One more thing, When I edited the code I showed earlier, I saved it as index.html ? Maybe that was wrong?
     
  8. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    /Bump.

    Can anyone help me please?
     
  9. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    85
    /Bump. I have been trying to fix it for 8 hours! My eyes are tired. :( Someone help me please.