facebook

Want to open FB.Connect.streamPublish in a popup

Hi, I have been trying to make the Publish Stream preview modal that appears when i click on Publish Button, to appear in a pop window instead of a javascript modal. Can anyone help me with this? it is really urgent. Thanks a lot in advance. :) ...

good way to go about doing page excerpts

Hi, I'm looking to achieve the effect facebook has when you put a link into a message - they scrape the title and some images from it. I noticed they also do it extremely quickly. (they must cache some of the re-sent items?) Does anyone have any ideas on how to approach this with PHP? Can I somehow quickly grab the <title> block of the...

Need session key from facebook to get user data

I have an external web app, which needs to connect to Facebook and get user data like contacts, etc. I have successfully setup Facebook connect on my website. now i need to know how I can get a Facebook session key and then get data calling Facebook's Rest Java API. Is there a clear tutorial that does just that? ...

What does this code do?

Moaning about the lack of a dislike button is all the rage on Facebook at the moment and various groups have sprung up offering a dislike button, but only after you've invited x amount of your friends. One of the more (possibly devious?) groups requires you to run Javascript as part of the joining process. I haven't ever done web coding...

Send Facebook Message from Personal website - possible?

I have been comissioned to make a website complete with a user login system with multiple user groups. The users of this site will most likely also be administrators of facebook groups as well. Does anyone know if it is possible to associate facebook credentials with the login, and be able to send out group wide messages from this sepa...

ajax calls being called too fast.

I have a page with a link, that the user clicks to log our api out of Facebook. When you click on it, it calls a ajax function that calls a php method to delete the users keys from our database, then calls the Facebook api logout function from a JS command. This calls Facebook and ends the users session. Once logged out, it refreshes th...

how to retrieve friends' list using facebook connect with iphone app

Hi, I'm using facebook connect for my iphone app. It is able to authenticate the user and also publish a comment on the user's wall. But I'm not sure how to retrieve the user's friends list. A sample code will be highly appreciated. Thanks in advance, -Chandni ...

Best Approach to write a FaceBook application for Android

BackGround: There are Facebook APIs(and SDKs) available to develop applications for other Mobile devices like iPhone, BlackBerry etc, but it seems there are no official ones for Android(?). People have ported Java APIs to work on Android and have written FaceBook Client applications(FaceBook dev: Wiki Page). Apparently, there is also...

PHP: Facebook stream.publish and outdated template bundles?

Ok So I haven't tried messing with the facebook PHP API for months.. it's gross. Since template bundles are apparently now defunct, how can I publish a story into my users news feed for their friends? I've also already requested permissions. Edit: The issue seems to arise from requested permissions not being set for the user when They ar...

If I want to get a Facebook user's "info" and "posts"...do I need Facebook Connect or Facebook Application?

Preferably, I want the least work possible! ...

Is it possible to access a Facebook user's photo-gallery in Facebook Connect?

If the user "Connects" to your website. ...

support new facebook API instead of $facebook->api_client->profile_setFBML($profileContent);

Hi, I looked at Facebook page, and they not supported with the PHP Api: $facebook->api_client->profile_setFBML($profileContent); can anyone help me with another possible API to use. Thanks ...

faceBook Canvas APP not closing FB.Connect.showPermissionDialog

My FB application is using the below code to generate the FB.Connect.showPermissionDialog box. <?php if($fb->api_client->users_hasAppPermission("publish_stream",$fb_user)==0) { ?> <script> FB.ensureInit(function(){ FB.Connect.showPermissionDialog("publish_stream", function() { },false,266167740665); }); </script> <?php } ?> Th...

how to debug facebook app/django setup (url is not valid...)

Hi folks, I'm trying to set up a facebook app using django by following this tutorial: http://www.rkblog.rk.edu.pl/w/p/example-facebook-application-django/ . I get to the point where I start my development server at (manage.py runserver 0.0.0.0:80) then it says: Now under http://apps.facebook.com/NAME/ you should see a basic Facebook ...

What language does twitter and facebook use?

hi gurus! I'm using php for the last 6 months and i can pretty much do anything with it. But BIG websites like Facebook and Twitter doesn't appear to use php. I wanna know what languages they use and why they chose that language over php. Is Ruby on Rails a good language to build robust and big websites? I've seen RoR's video on youtu...

XML Loading in flash not working on facebook.

Hi, I have a flash file which calls up a url say http://test.com/createXML/ which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database. The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the X...

How to invite my friends from facebook events.invite using asp.net or c#

I have created an event in facebook through facebook API.Now i want to invite my friends to that event. Any help regarding this. Thanks, Ibrahim. ...

Facebook notification error

hi, I have a piece of python code which is used to send notification to a perticular user. request.facebook.notifications.send(['500263834'], 'msg','user_to_user') return HttpResponse() which works fine when I run it on my own server (not from the facebook canvas page) and gives me a error that I need a facebook session. Which sounds...

fb:comment does not work on my application

hello! I'm new for facebook developer. I want to add comments box to my application and I follow the tutorial in facebook wiki. It's not work in my application. My Canvas Callback URL is http://122.155.0.71/~facebook/ and I upload xd_receiver.htm to root directory. and I paste the code FB.init("b6e07896a1d0889...

Function called three times when in facebook ?

Hi, I'm using the following code to add one to two values in case the user wins a challege. def challengewin(request): uid = 1313693 tempuser = User.objects.get(id=uid) tempuser.challengeswon = tempuser.challengeswon + 1 tempuser.silver = tempuser.silver + 1 tempuser.save() return HttpResponse() this works fin...