Tag Archives: 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 

Continue reading

Tagged , , , | Leave a comment

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 right… Continue reading

Tagged , , , | Leave a comment

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 Continue reading

Tagged , , , , | Leave a comment

Facebook Graph API – get full name without using file_get_contents

I can’t use ‘file_get_contents’ because my host won’t allow php ‘open_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:… Continue reading

Tagged , , | Leave a comment

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(), here is my code

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

I am new to php so i think i Continue reading

Tagged , , | Leave a comment

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 example… Continue reading

Tagged , , , , | Leave a comment

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; ?>',
      

Continue reading

Tagged , , , | Leave a comment

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 example… Continue reading

Tagged , , , , | Leave a comment

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.… Continue reading

Tagged , , , | 1 Comment

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..
Can anyone help me?

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

Continue reading

Tagged , , | Leave a comment
42 pages