facebook

facebook: why I can't send email from app to user?

I can't send email to my app users, even though I have the permissions. I am working with the java library, although I don't think it is related to that. long uid = ...; Collection<Long> uids = new ArrayList<Long>(); uids.add(uid); FacebookXmlRestClient client = new FacebookXmlRestClient(api, secret); boolean sendEmailPerm = client.use...

Creating a Facebook session for getting page info

I am trying to get info on a page that my user is admin for. This user has granted my fb_connect app offline access. I have saved the session_key that allows offline access (it has the user's id in it). I am able to publish to this fan page with this session key. But when I try to access the page's info I get an SessionExpired error....

Does Facebook use long polling for chat and notifications ?

or anything else ? ...

What language for a Web Chat ?

Hi at all, I need to create a simple web chat ( like facebook chat ) What language do I need to use ( server-side ) ? Erlang ? PHP ? Python ? Ruby ? ecc Are there any examples ? Thanks ^_^ ...

Facebook Restful PHP Client - get Events of a User

Hi, im using the Facebook PHP Client library and want to get the Events of a user without first logging in as a user. Is that possible? I got the User ID and the events.get method has a parameter UID. <?php // Configure $apiKey = 'xxx'; $secretKey = 'xxx'; // Include Lib require_once('facebook.php'); // init main object $face...

Developping a facebook application: PHP commands don't work

Hello, I am trying to create my first FB application and it doesn't seem to work. I am new to PHP but I have followed the instructions to the letter. I have installed the facebook client library on my server. Then I copied the example code provided by Facebook and all I get is a blank page. However, if I only include simple PHP commands ...

display facebook request box using facebook API

hi, i need to display my fb request box that contains count of friend request,suggestion etc to my website using API. I'm using PHP.Is there any way to do that? thanks ...

CURL + $GLOBALS["HTTP_RAW_POST_DATA"] in PHP

I'm using CURL to upload files to a service. currently I'm getting the file content with $GLOBALS["HTTP_RAW_POST_DATA"] then save it on my server. after that, I'm using CURLOPT_POSTFIELDS with the file's full path. Is there a way to send the file content directly, without saving it on my server, as if I saved it? Or is there a way to ...

Facebook JS API: How to get FB.Connect.streamPublish to use auto_publish

I'm trying to publish stuff to someone's wall. It works, but I'm also trying to use the auto_publish feature so the user will only get one popup granting the publish_stream extended permission. So I set streamPublish's auto_publish to true, but I still get the popup asking me if I want to publish and/or edit the message. What am I doi...

Facebook JS API: Is it possible streamPublish to many targets at once?

I'm trying to make my app publish to all my friend's walls. From what I read in the API docs, the streamPublish method only allows you to publish to one person at a time. What I'm doing is fetching all the friends with FB.Facebook.apiClient.friends_get then a for on the reuslts, and a streamPublish for every one. This however seems h...

Embedding Facebook in an IFrame

I have an app that has an IFrame with a page flash overly allowing you to draw on webpages. When I go to Facebook with the application, an overlay pops up covering everything at 50% opacity (Which is fine). The problem is that the overlay is all black in some installations of IE7. Can anyone advise on how to get around this? Here is my ...

Facebook Flash app security?

I'm developing a Facebook app implemented in Flash, and I'd like to authenticate communication between my app and my server. In other words, I'd like to guarantee that all communication with my server is coming from my app, which has been launched from within facebook by a valid facebook user. Does the Facebook actionscript API support ...

Is it possible to use bold fonts on facebook page descriptions?

I know there are certain ways of using bold/italic/underlined text in facebook's chat, but I'm struggling to achieve the same on the page description. That is the text below the page's logo. I know this is probably the wrong place to post this but since you guys are awesome * pleaseee :) * and fast, if you're not able to help me, no one...

Require extended permissions in FBML pyfacebook app

I'm trying to get my FBML canvas page to automatically prompt new app users for permission to publish_stream. Following Facebook's documentation I tried using the required_permissions argument to require_login. That is, I tried to use the pyfacebook require_login decorator like this: @facebook.require_login(required_permissions='publi...

facebook developer toolkit - RequiredPermissions not working

Hi all, I am using facebook developer toolkit along with c#. I would like to require my users to allow me offline and email access. I am using the following code, but it does nothing... RequiredPermissions = new System.Collections.Generic.List<Facebook.Schema.Enums.ExtendedPermissions>(); RequiredPermissions.Add(Facebook.Schema.Enums....

facebook - Is it possible to prompt user for a require permission dialog using javascript

Hi all, I am developing a small facebook application. In my application I need offline_access and email permission. I've been succesfully prompting the user for permission using FB.Connect.showPermissionDialog("email,offline_access"); But what I really want to do is prompt the user with a require permission dialog, not request. Doe...

actionscript calling javascript with Security Exception

I have a swf hosted at domain A, and I have a html at domain B My swf is able to be loaded from accessing the html at domain B. However, the swf gets a SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller http://domainA.com/TrialApp.swf cannot access http://DomainB.com/. The as3 is just the below: External...

Facebook chat through a browser toolbar?

Is it technologically possible? ...

Is there any example code explaining how to change Facebook's API existing code to make it yours?

FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease]; dialog.delegate = self; dialog.userMessagePrompt = @"Example prompt"; dialog.attachment = @"{\"name\":\"Facebook Connect for iPhone\"," "\"href\":\"http://developers.facebook.com/connect.php?tab=iphone\"," "\"caption\":\"Caption\",\"descript...

Query all friends in a network

Is there any way to retrieve all friends in a particular network? For example, How can I view the list of my Facebook friends joined the network of my organization. ...