facebook

How to get latest facebook status in python?

I need to be able to get the latest facebook status update of an user that has allowed consent. Is there a way to do this with pyfacebook without having to have the user login in facebook? ...

browser instant updates with ajax/jquery

I'm trying to reverse engineer how facebook handles their notifications, where when you get a message you get instantly notified via the browser. I've fiddled with it for a little bit and realized that there is always a pending GET request "listening" if you will to some sort of update from the server. This appears to be some sort of...

Facebook failing on XFBML call using Yii Framework

I have used this same call in other IFRAME Facebook apps, but it gives me nothing at all in terms of output. I am trying it on Yii and getting nothing. <script type="text/javascript"> window.onload = function() { FB_RequireFeatures(["XFBML"], function() { FB.init('xxxxxx', 'xd_receiver.htm'); FB.XFBML.Host.get_are...

Facebook events api: Event member (FQL)

I am fetching the event members for facebook events. Till yesterday I was getting the proper counts of members of an event. But suddenly the counts have following issues: For lot of plans on every consecutive request, I am getting random number of members. Strange issue. Seems facebook servers are not synced properly or something simil...

How to get latest facebook status update in python?

I need to be able to get the latest facebook status update of an user that has allowed consent. Is there a way to do this with pyfacebook without having to have the user login in facebook? ...

Facebook application - Add wall

How can I add a wall on my facebook-application (fbml). Do I have to store the wallposts (user-id and comment) in my database, and display them using fb:wall, fb:wallposts, or is it a plugin like fb:comments for this? If so, how do I add a textfield/form for interacting with the wall? ...

Facebook API - fql_query, Invalid session

Hey I'm trying to query Facebook with the PHP Library and what I've read it shouldn't required a session key, or rather it shouldn't require one for my case, but my code below gives me the following error: "Session key invalid or no longer valid". http://wiki.developers.facebook.com/index.php/Fql.query "For example, querying the user t...

Publishing news feeds automatically

Hello, I have a website which generates hourly updates to users. I want to allow these updates to show up as News feeds in Facebok. I opened a Facebook Connect application. Through my site I receive the extended persmission to post news to the users' news feeds. My question is can I automatically post news feeds to these users without ...

How to obtain the facebook uid of a user in php

Hey, I'm writing a canvas app for facebook. I use the command: $user_id = $facebook->require_login(); To get the userid, but at the first few pages of my app I don't want to require login, but if the user's logged in, I'd like to know what the userid is. Basically I need a get_login() command that perhaps returns 0 or null if the user...

Image jQuery scroller in a container. (like facebook cropper) can't get values of position.

Hey all. Having a reallllll mind pain. I have a php image uploader which is all good and sotring the file and the jquery ajax is returning the image in an ammended html div with a div set up like this: #crop-holder { width:80px; height:80px; margin:10px 10px 20px 10px; border:1px #c0c0c0 solid; overflow:hidden; cursor:mov...

new Facebook Like button for Blogger

I want to add the new facebook like button to my blogger website. http://developers.facebook.com/docs/reference/plugins/like I have to pass the url to the blog posts in the iframe src tag. I can get the blogger posts url from <data:post.url/> but I can't put that in a src string because Bloggers template system is weird. I want to do t...

Facebook - finding users by name

Hello Guys, I'm very new to facebook and wanted to know if this is even possible to do with facebook API. If a user searches for a name on my website - say "Jamie Smith" - I want to pass this name to facebook and find all users that match that name - so if I can get back their photo and name to display on my site - so users can identif...

HTMLUNIT Facebook javascript warning

Hi I am trying to create simple application that would be able to search people on facebook using given e-mail. I am already able to log into an account using the HTMLunit tool and even create a page, which should throw result of my search. But when I try to print the result as XML the file is missing some blocks of javascript results (...

Adding a bookmark link to a Facebook IFRAME app

I have a simple IFRAME based facebook app, with everything set up for XFBML (it's working by the way), and I want a link to add a Facebook bookmark. It sounds simple but it really doesn't seem to be. doesn't show anything, even though other tags render, so I was looking at doing it with a link instead, the way the Facebook developer ap...

Do Facebook Oauth 2.0 Access Tokens Expire?

I am playing around with the Oauth 2.0 authorization in Facebook and was wondering if the access tokens Facebook passes out ever expire. If so, is there a way to request a long-life access token? ...

Facebook Like Button XFBML comment not working

Update: Read the comments to the item marked as the answer below for the full answer. I am implementing a Like button from Facebook per this document: http://developers.facebook.com/docs/reference/plugins/like I am using the XFBML version so that users can add comments when they click on the Like button. I have imported the Facebook Ja...

Facebook Connect not working properly, showing call back url in same popup

i have used facebook connect in my site but it is not working properly. when i click on facebook connect button it shows popup after that when i enter my login and password it shows the callback url in the same popup. ...

How to implement the Facebook "Like" button to your site without using iframe and FBML?

I want to implement the Facebook "Like" button to my site, but I don't want to use FBML and iframe. Is it possible to implement this button by using plain HTML + JavaScript? http://developers.facebook.com/docs/reference/plugins/like ...

Choose Graph API or old REST API for Facebook application

Hi there! I should have asked this in Facebook developer forum instead, but somehow I can't register to the forum and the Facebook connect feature is not working at the time I'm writing this. Anyway, I am still confused whether to use Graph API or the old REST API for my Facebook app. Generally, this is what I want to achieve in my app...

Facebook Graph API and Django

Hello, I am curious if there is any article/ library / anything useful that is built for the newly announced Facebook Graph API. I am planning to use it for a Python/Django project. ...