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

Like before wathcing video

Discussion in 'FaceBook' started by erzael, Jun 24, 2011.

  1. erzael

    erzael Registered Member

    Joined:
    Oct 20, 2008
    Messages:
    55
    Likes Received:
    22
    Hello out there!

    I just discovered a site, that requires you to like the site, and share it on your wall, before you could watch the different videos on the site.

    How is that made? What is the script behind that? I have searched the web for days now, and i can't find an answer. So i thought that you could help, here at BHW!



    Thank you,
    Have a good night!
     
  2. j3rki

    j3rki Regular Member

    Joined:
    Mar 31, 2011
    Messages:
    363
    Likes Received:
    132
    the fanpage of lmfao is doing this. but i would use it a bit other.. like the page to see the videos and share to be able to watch them
     
  3. kittykat

    kittykat Junior Member

    Joined:
    Sep 17, 2008
    Messages:
    115
    Likes Received:
    66
    Can you show us the site so we can take a look at what you're talking about?
     
  4. erzael

    erzael Registered Member

    Joined:
    Oct 20, 2008
    Messages:
    55
    Likes Received:
    22
    I'm sorry Sir, I'm not allowed to post URL's in this forum. I don't know how i can provide you the site then.
     
  5. ealexnet

    ealexnet Newbie

    Joined:
    Aug 3, 2010
    Messages:
    34
    Likes Received:
    6
    This is simple F.B. connect API available for any site. There's probably a simple script on the index page of the site which identifies you as a F.B. user and checks if you 'liked' the site or not. Then it shows the teasing page or content page depending on this. You can find lots of examples of such scripts if you try google :)
     
  6. eldeniro

    eldeniro Newbie

    Joined:
    Dec 25, 2010
    Messages:
    34
    Likes Received:
    0
    I would love to know how to do this
     
  7. moneyrocks

    moneyrocks Supreme Member

    Joined:
    May 22, 2009
    Messages:
    1,205
    Likes Received:
    135
    it is simple script if you search watch deadly hollows online and you can see this site saw that last night only
     
  8. RootShellvb

    RootShellvb Junior Member

    Joined:
    Jan 29, 2009
    Messages:
    188
    Likes Received:
    211
    Occupation:
    CEO
    Location:
    Casablanca, Morocco
    Home Page:
    It's pretty easy with or without page.
    Without FB Page :
    you need to create a Facebook application, and to track user like you have to use this Facebook JS Function :
    Code:
    hxxp://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/
    In Facebook page tab :
    Facebook send via POST a signed request to your server, when you decode it, you can find many parameter such :
    - if the current user is admin of the page.
    - if the current user liked the page.

    ;)
     
    • Thanks Thanks x 2
  9. cornkernel

    cornkernel Regular Member

    Joined:
    Sep 2, 2010
    Messages:
    443
    Likes Received:
    115
    Location:
    Australia
    i actually saw something on here yesterday like that. it was for wordpress, and it locks the page until the user 'likes' it. i can't remember what it was called though.... but do a search!
     
  10. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    612
    Likes Received:
    188
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    I coded one of these but I was using cookies to detect the like because I couldn't find a better way. Thanks for the info.
     
  11. RootShellvb

    RootShellvb Junior Member

    Joined:
    Jan 29, 2009
    Messages:
    188
    Likes Received:
    211
    Occupation:
    CEO
    Location:
    Casablanca, Morocco
    Home Page:
    for Facebook page, I used in tab the variable posted by Facebook, and in Applications or web sites I used DB ;)
    You are welcome
     
  12. VIC SEO

    VIC SEO Elite Member

    Joined:
    Feb 19, 2010
    Messages:
    2,156
    Likes Received:
    363
    Gender:
    Male
    Occupation:
    SEO Specialist
    Location:
    iSynergyMedia
    Home Page:
    Yes , some fan pages are using this , but i dont know what cretain scripts they are using.
     
  13. Fuggz

    Fuggz Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 25, 2010
    Messages:
    583
    Likes Received:
    600
    I have a TON of these scripts if anyone is interested. Also if you have traffic hit me up, I am willing to JV.
     
  14. HeXeR

    HeXeR Junior Member

    Joined:
    Dec 30, 2007
    Messages:
    121
    Likes Received:
    15
    Occupation:
    Self-employed
    Location:
    EU
    Home Page:
    Didni't some share similar script somewhere here? :)
     
  15. Fuggz

    Fuggz Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 25, 2010
    Messages:
    583
    Likes Received:
    600
    I did but it got moved to Jr. VIP

    I have a dozen different scripts like this that are working well on FB right now, PM me and I will show you what I have.