Jump to content

want to check how much like


yolop

Recommended Posts

you already asked this earlier in another thread...

yeh

but the way i wrote ther don't work

facebook block the way to get the source of this page with php

belive me i tried

 

Look into Facebook's API.

i dont found

you found?

Link to comment
Share on other sites

To use any api you will have to jump through some hurdles, and will include reading some of their manuals...

 

But a quick google provided:

 

http://www.whenpenguinsattack.com/2006/10/05/how-to-use-the-facebook-api/

 

 

I've never used facebook api specificly so...

yeh i tried to do this

but it dont work

 

<div id="fb-root"></div>

<script>

  window.fbAsyncInit = function() {

    FB.init({appId: "********", 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>

<?php

echo file_get_contents('http://www.facebook.com/plugins/like.php?href=www.gmail.com');

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.