facebook

Open graph og:video Meta Tags content

Hi! I'm trying to set up a page which can be properly scraped by Facebook when it's shared/liked. The page will have a YouTube video associated with it, so in the content attribute of the og:video tag, should I put the YouTube video embed link or the actual youtube page link for it to appear on Facebook with the little "Preview" button ...

Parse Title & Description from any website (Just like how Facebook Link Share works)

Hi, I want to fetch title and description of any website just like how Facebook Link Share does. I wonder if there are any APIs for this? It is easy to get the title, but sometimes fetching the description is a trouble. Because, not all websites have description meta tag. I've used Simple HTML Dom Parser with PHP to fetch the title & d...

facemash algorithm

Anyone know the facemash algorithm that Mark Zuckerberg implemented in his facemash site? http://www.thecrimson.com/article/2003/11/19/facemash-creator-survives-ad-board-the/ Preferably in PHP & MySQL. Thanks! Matt ...

How to display facebook status feed on website with PHP? (similar to twitter feeds)

I've been looking all over for a way to do this, and I'm still rather stumped. What I'd like to do is have a facebook status feed alongside my twitter feed (see footer of this page), but cant seem to find a way of doing this without creating an app to convert my statuses to RSS then reading the RSS in PHP. which gets messy and complicat...

require_login("publish_stream") doesn't working now ....

because of this issue i cannot ask permission from user i want to publish a messgage to wall and news feed so how to do it using PHP here is my code $appapikey = "XXXXXXXXX"; $appsecret = "XXXXXXXXX"; $facebook = new Facebook($appapikey, $appsecret); $user_id = $facebook->require_login("publish_stream,offline_access"); ?> ...

Update status facebook using python

i'm trying the solve problem update status using facebook API with pyfacebook so i look at here http://stackoverflow.com/questions/1907662/update-facebook-pages-status-using-pyfacebook and i think doesn't work anymore well, finally i solve the problem #!/usr/bin/python import facebook # Replace these with your app's credentials api_key ...

add tabs to user's facebook page through facebook api

Can a facebook api add tabs to users' facebook page, if yes then HOW?? ...

Force Facebook to ask user password when using OpenGraph

I use Facebook OAuth 2.0 to register new users to my website. After which they can also login using Facebook. If a user is already logged in at Facebook, and registers at my site, I would like Facebook to ask again for the password of the current user so I know for sure the user that registers is the person logged in at Facebook. Becaus...

Tagging friends in a fb.api status update?

i was wondering whether it's possible to tag friends somehow using the facebook fb.api (javascript sdk) call... By tagging I mean what happens when you use "@" in the regular facebook.com ui ...

Is there a way to programmatically remove friends on Facebook?

It sure is a pain to prune a Facebook profile. Is there any way using the Facebook API (or some other mechanism) to authenticate as a particular user and remove friends from the user's list? I have looked through the API documentation, but I'm not familiar with the ins and outs of the platform. ...

How do you perform a redirect within a facebook application?

I'm trying to perform a server side redirect within my facebook application but I when I do a normal redirect, facebook 404s the url (even though its valid). I'm assuming that they block traditional browser redirects (for saftey). I found fb:redirect (http://developers.facebook.com/docs/reference/fbml/page-admin-edit-header) but I cant e...

In layman's term: social APIs and their limits

I want to utilize Facebook, Twitter, Foursquare, Google Maps and Yelp in my own social web app (PHP/MySQL), specifically to tap into users' details and trends. How do I use those social APIs and what are the main limitations I need to worry about? ...

To like and share the application when the user clicks on share button in facebook

Hi I am a ruby on rails developer and now working on the facebook. Any one please give a suggestion so that to like and share the application when the user clicks on share button on facebook. ...

FB.ui does not work the first time. Help!

I created an app which publishes to the user's wall. The problem is, the first time the user accesses the page, the FB.ui doesn't show up. After one reload, it works perfectly. by first time, I mean when the user gives permissions to the app, OR when he has already given permissions. In both scenarios, the problem occurs. Any ideas, pe...

Can't include facebook inside my codeigniter project

Hi guys. I wanted to include the facebook login inside my application. This is the sample code which I was provided with: <?php require 'facebook.php'; // Create our Application instance (replace this with your appId and secret). $facebook = new Facebook(array( 'appId' => 'my api goes here', 'secret' => 'my api secret goes ...

Parsing array of JSON arrays in Groovy

I have the following string from a REST JSON response: [{"uid":10512213, "name":"Bob"},{"uid":7208201, "name":"John"},{"uid":10570, "name":"Jim"},{"uid":1799657, "name":"Sally"}] The rest response definition is from Facebook: FB REST Link I am using Google App Engine + GAELYK which runs in Jetty. What is the best way to convert the a...

Get all Facebook links with the same URL

Is it possible to retrieve the IDs of all links shared on Facebook that have the same URL? For example, I want to retrieve all the shared links that have the URL http://www.google.com and get their IDs so I can get all the comments for the said URL. How can I do this? ...

How to check and let a user "Like" a page programmatically from iphone application ?

I am trying to integrate iphone application with facebook, and I am stuck at a point where I need to let a user "Like" a page. This is because it's only after Liking the page the user gets to write some comments which will ultimately appear on the page's wall. I am not able to find any appropriate objective C code to implement this funct...

like and share in one single button in facebook

Hi. I am a ruby on rails developer can any body tell me how can I prompt the user to like the app when he click on share button of facebook ...

undefined method Facebook::call_method() need help publishing on facebook wall

Hi. I am following the tutorial here First I have a iframe like this: <iframe src ="http://www.facebook.com/login.php?api_key=XXXXXXXXXXX&amp;connect_display=popup&amp;v=1.0&amp;next=http://www.facebook.com/connect/login_success.html&amp;cancel_url=http://www.facebook.com/connect/login_failure.html&amp;fbconnect=true&amp;return_sessio...