facebook

Can I control what subtype to use when deserializing a JSON string?

I'm working with Facebook API and it's search method returns a JSON response like this: { "data": [ { "id": "1", "message": "Heck of a babysitter...", "name": "Baby eating a watermelon", "type": "video" }, { "id": "2", "message": "Great Produce Deals", "...

How can I paste img tag into stream.publish method?

I am new in Facebook API, I found only that page about fb.ui http://developers.facebook.com/docs/reference/javascript/FB.ui . I use new connect-js, and when i just place in my text <img src="/sa/asd/asd.jpg" /> slash is escaping to \/. Please help! ...

JS SDK FB.login() works but pop-up dialog is staying open after logged in

I am using the JS SDK for Facebook based on the NEW GraphAPI for Auth/Login. Has anyone had this issue when logging in after FB.login() was called via the JS SDK? The problem: after I initialize by calling FB.Init() asynchronously (because this all wrapped in a window.fbAsyncInit function) the login pops up; I log in but then that pop-...

Attempting to synchronize AJAX requests

I have been working on a new feature for a facebook game I have written. The game allows a player to travel between cities in Europe and deliver goods for profit. This feature that I'm adding adds pathfinding AI to the game: it allows a player to select a city to travel to, then the game automatically moves the player's train along track...

Facebook javascript/ fbconnect ifuserconnected causing problems

Hey, well I'm reading the fb connect tutorial here http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1 The problem I'm having is near the end of the tutorial, it's saying do do this <script type="text/javascript"> FB.init("apikey","xd_receiver.htm", {"ifUserConnected" : update_fbuser}); </script> as oppose t...

FB JS SDK: init not working?

i have copied this code from the FB.init documentation: <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US" type="text/javascript"></script> ... <!-- facebook JS SDK init --> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { ...

Authorize posting to Facebook Fan Page

Hello! Does anyone know if you're able to authorize posting to "Fan Pages" using the new Oauth system, or is it still required to be done in the legacy fashion (as shown on http://stackoverflow.com/questions/2097665/authorizing-a-facebook-fan-page-for-status-updates)? I've attempted to dig deep into the new API for ways to authorize of...

Updating your facebook status ?

My application intends to update the facebook status to the area in which my cellphone is. How do i go about it ? From where should i start & in what direction should i proceed ? (I am able to get the GPS locations. Only cant figure out of linking my application to facebook. ) ...

How to make query "is uid X attending event Y"

How to make query "is uid X attending event Y" with ASP.NET toolkit? Do I need to use Facebook SQL? I have an event with 5000+ members and I want to enumerate all friends of current users to see if they belong to this event. ...

How to get email of a facebook friend in an iPhone app

Hi There, I am developing an iPhone application that will send email to a logged in user friends'. I am using FacebookConnect for the same. The problem is I am getting the uid of all friends but what is the way to send email to these uids(friends UID). Also I m not able to get the email id of any of the facebook friends.Can I get the e...

Can I use pyfacebook django middleware without going to canvas?

Hi everyone. I am using facebookdjango, with @decorator_from_middleware(FacebookMiddleware) @facebook.require_login() decorators, which always redirect to the facebook canvas page, I wonder if I can be "canvasless"? Thanks. ...

Facebook Integration with an external site

Hii.. I am working on developing a website and I want it to be integrated with Facebook, i.e. I want to fetch logged-in user's information like his wall info, comments, his feeds etc. along with his friends's information,their comments etc.. Also I want user of my website to be able to post comments, feeds on his wall, update / upload pi...

Is it possible make scroll invisible in facebook when we are playing a game?

Hi, we are coding an application for facebook. it´s a game with diferent kind of levels, and in on level we use the navigation keyboad, and when we press down key or up... the page move because the scroll, so we wanna make the scroll invisible, is this possible? we don´t wanna make it invible in all levels, just in someones. thanks :) ...

Accessing data from response of FB.api()

I am having difficulty accessing the returned JSON response data from the new Facebook JS SDK new Graph API calls. For instance, in some of their docs where they are using the old way of using the SDK , they get a pointer to the data by response[0] but here, it's showing that you need to use response.data[0] instead: http://developers....

Problem with Facebook XFBML and IE8 asynchronous loading

I'm trying to implement an XFBML comment box on a page. It works in FF and Chrome, but only sporadically in IE8. I get an 'FB' is undefined error when the page hits the FB.XFBML.parse('fb-stuff'); Do I need to check if the FB Connect script has finished loading before I try to parse the XFBML? <script type="text/javascript"> window....

How do I import information from member of Facebook ...?

How do I import information from member of Facebook and print the in the registration form on my website I want to import Name E-mail Personal Photo ...

Facebook Get Friends who are tagged with Graph API

Hi, The application I am working on has the following permissions: read_stream,publish_stream,offline_access,user_photos,friends_photos,friends_photo_video_tags,user_photo_video_tags When doing the query, only the photos owned by the user show up. Any picture that is on a friends album does not show up. This happens even if all priv...

How to post to user's wall when user is offline.

Hi, I have just used the javascript sdk to publish to the wall when the user is online. I am starting to like it. Now I want to post to wall when user is offline. I already have extended permissions from the user. How can I post to user's wall when user is offline using javascript sdk. here is my code: function Publish(body){ ...

Facebook Graph API retrieve Friends with json and C#

I'm working in C# with the Graph API and have been able to grab Facebook user profile information such as the ID, Name and email and then deserialize the JSON to be able to assign the values to labels. However, my problem is when I go to grab the list of Friends, or list of anything for that matter, how do I go about deserializing this ...

html frames - is grabbing a div out of a page possible?

basically what i want to do is display a facebook photo album on my website. is there a way to just take a div from a page and put it on yours with like frames? couldn't think of a better way to do it atm - client isnt exactly computer savy but could handle photo album himself if its through facebook i guess my backup option is just t...