Archivo de la etiqueta: facebook

Using PHP to Add Facebook Open Graph Read Action

I’m trying to get Facebook to publish a read action using PHP. I’ve coded it totally wrong and need a little help:

<?php
function curPageURL() {
 $pageURL = 'http';
 if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
 $pageURL .= "://";
 if 

Sigue leyendo

Etiquetado , , , | Deja un comentario

Why does the Facebook PHP SDK logouturl not actually log the user out?

I am using the Facebook PHP sdk, and after the user logs in, I show a link for the logout URL using $facebook->getLogoutUrl().
But when the user clicks on that link, it seems to go to Facebook and redirect rightSigue leyendo

Etiquetado , , , | Deja un comentario

Create facebook like chat input box

I want to create a input box for my chatting script.
i used

<form action="" method="">
    <input type="text" name=""/>
</form>

when i press enter button the form is submitted. I would want the users to enter multiple
lines of messages Sigue leyendo

Etiquetado , , , , | Deja un comentario

Facebook Gráfico API – get full name without using file_get_contents

No puedo usar ‘file_get_contents’ because my host won’t allow phpopen_url_fopen’.
Is there any way of getting the full name of a Facebook user, from their Facebook ID, using PHP without file_get_contents?
(extract the full name from a link like:… Sigue leyendo

Etiquetado , , | Deja un comentario

How to use the_permalink as redirect url in Facebook app?

I am creating Facebook app but the problem is i want to use word-press’s the_permalink as redirect url but its not working its showing redirect url=the_permalink(), Aquí está mi código

define('REDIRECT_URI',"the_permalink()");

I am new to php so i think i Sigue leyendo

Etiquetado , , | Deja un comentario

Remotely Scrape Page and Get most Relevant title or Description for Images with XPath

What I’m looking at doing is essentially the same thing a Tweet button or Facebook Share / Like button does, and that is to scrape a page and the most relevant title for a piece of data. The best exampleSigue leyendo

Etiquetado , , , , | Deja un comentario

javascript facebook publish on the wall

there are many answer on this issue, but I can’t find the right solution!
I have javascript that calls the login, but with no premission to post to the wall

window.fbAsyncInit = function() {
    FB.init({
      appId: '<?php echo $this->getAppID; ?>',
      

Sigue leyendo

Etiquetado , , , | Deja un comentario

Remotely Scrape Page and Get most Relevant title or Description for Images

What I’m looking at doing is essentially the same thing a Tweet button or Facebook Share / Like button does, and that is to scrape a page and the most relevant title for a piece of data. The best exampleSigue leyendo

Etiquetado , , , , | Deja un comentario

Getting Facebook Like count

I have integrated Facebook Like into my website.Now i need to get/list the count of the Facebook like in the Admin panel of my website. Is there any way to get this done?Need suggestions.Thanks in advance.Sigue leyendo

Etiquetado , , , | 1 comentario

Uploading Photo In User's Profile (preveously creating the album)

I’m building a FB app.
I can get publish_stream permission from user.
Next step is uploading the photo in user’s profile (previously creating the album).
Tried many ways, but all failed..
¿Puede alguien ayudarme?

  $loginUrl = $facebook->getLoginUrl(array(
            'canvas' => 

Sigue leyendo

Etiquetado , , | Deja un comentario
42 páginas