Facebook "likes on site" script??

Teddie

Registered Member
Joined
Feb 22, 2009
Messages
87
Reaction score
2
Hello everyone,

"John likes 'I've probably learned more from Google than I have from school' on 'FB Like'."

Does any of you guy know where I can find a clone script of these sites??

Examples:
Code:
http://www.mylike.in
http://www.thefblike.net


I've searched on Google, and I found few scripts but as I was trying them on my localhost I was getting a red "Error" message from facebook that this thing has been blocked for abusing facebook.

Not to mention how bugged and out of date these scripts were... So, Can someone please give me a hand with this?

Thanks.
 
You most likely have to modify the app keys within the scripts.
 
you have to modify app keys and og data, be sure to change to your domain
 
Just to make you aware though, FB are blocking these sites constantly, be prepared to invest in several domains!
 
Just to make you aware though, FB are blocking these sites constantly, be prepared to invest in several domains!

u don'r need to invest in domains, just look around in the right places and u get them for free
 
Seems like there are a lot of things that i'm not so aware of... What you mean by App keys and og data??

Thanks a lot.
 
Seems like there are a lot of things that i'm not so aware of... What you mean by App keys and og data??

Thanks a lot.
og data wouldn't result in the abuse situation. og data is what is parsed by Facebook's internal processing of the user's "Like" action. This should be unique to each page, essentially. Read up on the Facebook Dev's API documentation about that. However, the app keys are within the script itself. Are you looking at the scripts? The main pages, such as index.php or like.php (I'm assuming these generic names), they should be including a file, such as facebook.php or connect.php (look for the include() function within teh script, at the top). Go to that script. You should see two variables being assigned a value at the top. Generally something like $APP_KEY = '';
 
Thanks, That help a little bit. But I still don't really get the App key part and what it means... Do you have to create a facebook app on facebook.com first or what?

I've searched all the php files for something about keys, But nothing relevant.
 
Thanks, That help a little bit. But I still don't really get the App key part and what it means... Do you have to create a facebook app on facebook.com first or what?

I've searched all the php files for something about keys, But nothing relevant.
Yeah, that's correct. You have to create the app on Facebook and they'll issue you two keys... an APP_ID and a SECRET (cryptographic purposes). Again I don't have this script, if you want you can send it to me and I'll look through it, but in my script that I'm developing pretty much from a bare-boned script I got my hands on, it was somewhere in there. Right now I manage it in my session.php which manages user login session and what not...

Look for APP_ID or FACEBOOK_APP_ID or FACEBOOK_APPID. Along those lines... if you find that, you should also find the secret code.
 
I have looked in 3 different scripts for anything about the application ID or the secret key, But didn't find anything.

I've packed all the 3 scripts in a rar file here...
Code:
http://rapidshare.com/files/422140116/Teddie.rar

Any help is much appreciated.
 
Okay sorry, my fault. I've been speaking from the perspective that you'd be letting users connect, thus requiring the APP_ID & SECRET keys to request OAuth token, etc. What you'll want to change is the appID (search for it as "appId"). You'll see a 32chr MD5 hash value... this is the appID. You'll be assigned an appID when you create your application.

Specifically, you're looking for snippets of code like this:

Code:
<script>
          window.fbAsyncInit = function() {
            FB.init({appId: 'APP_ID_GOES_HERE', status: true, cookie: true,
                     xfbml: true});
          };
          (function() {
            var e = document.createElement('script'); e.async = true;
            e.src = document.location.protocol +
              '//connect.facebook.net/en_US/all.js';
            document.getElementById('fb-root').appendChild(e);
          }());
        </script>
 
And the reason you are getting the red error message is if you are not signed into facebook, or you have a non-email-verfied facebook account signed in at the time.
 
Hmmm, I have a problem.. When I tried to create a new facebook application. It told me that I should verify my account via mobile or credit card.

However, My Mobile network is not suppoted by facebook and I never seem to get the damn SMS with the confirmation code.

http://www.facebook.com/mobile/?settings

Can anyone help me with that, please?
 
Last edited:
These sites are getting popular, i see.

Maybe you should try finding a real script to purchase thatll work. idk?
 
Back
Top