facebook

How to upload image to facebook album using C/C++/C#?

Given a picture file, how do I programmatically upload it to one of my Facebook albums? If possible, I would like to do this using native MFC code (client side). Otherwise I'll stick to C#. I've seen that Facebook comes with different SDKs, but I'm not sure which technique is best suited. Please point me in the right direction, or bett...

What database does Facebook use?

Does it use any of the standard ones like Oracle, DB2, SQL Server, or have something of their own? Considering the type of data (text + images + videos) that they have to manage, it would be interesting to know how they deal with it. Is this information publicly available? Any links would also be helpful. ...

What is a "Javascript Bootloader" ?

I have seen this mainly in the source of Facebook "Bootloader.setResourceMap({"bMxb7":{"name":...." What is exactly a bootloader in javascript? what is its use and purpose? Thank you =) ...

Android Facebook Intent

im using this code to post on facebook, this dose not work with the official facebook app because it tries to send as a link. is there any way around this? Intent s = new Intent(android.content.Intent.ACTION_SEND); s.setType("text/plain"); s.putExtra(Intent.EXTRA_SUBJECT, "Quote"); s.putExtra(Intent.EXTRA_TEXT, qoute); startAc...

facebook like box stream height

How to control the facebook like box stream part height alone. Its normal to reduce height of whole box but if tries to control it fans images are not shown. The css .fan_box .page_stream{ ...,width:300px} to .fan_box .page_stream{...,width:150px} i'm asking because the stream box inside iframe ...

asp.net mvc period in POST parameter

i konw that you can have a period in a querystring parameter, but you cant specify a period in variable names in .net. The following code obviously does not work, but my external system uses the period in the names. Is there a way to do this? [AcceptVerbs(HttpVerbs.Post)] public ActionResult Index(string hub.mode) { return View();...

How to tag photos in facebook-api?

Hey, I wanted to ask if/how is it possible to tag a photo using the FB API (Graph or REST). I've managed to create an album and also to upload a photo in it, but I stuck on tagging. I've got the permissions and the correct session key. My code until now: try { $uid = $facebook->getUser(); $me = $facebook->ap...

Posting images/emotions to Facebook status

I am trying to post images/emotions to a users status. Here is an app that does it: http://apps.facebook.com/status-emoticon/ I've viewed the JS source and I'm cofused, it seems to be sending some sort of code as a message and facebook is turning that code into an image. Any ideas? ...

Tools for getting intent from Twitter statuses?

I am considering a project in which a publication's content is augmented by relevant, publicly available tweets from people in the area. But how could I programmatically find the relevant Tweets? I know that generating a structure representing the meaning of natural language is pretty much the holy grail of NLP, but perhaps there's some ...

iphone facebook login button not rendering

Hi, I'm new to objective-c so bare with me. I'm using the Facebook iPhone SDK found here: http://github.com/facebook/facebook-iphone-sdk All I'm trying to do is display the login button given in the SDK though obviously I don't have a full understanding of views. In my viewDidLoad method (i'm putting it here as I'm initialing the vie...

Best way to Facebook Connect on page load?

I'm running a facebook Connect site where I use Connect for authentication. I check if the user is connected through facebook on every page so that I can quickly authenticate them if they are registered. I think that my current way of doing this may be bad, because the page "hiccups" whenever it loads in users from facebook connect. T...

How to get the pid from this FB Script?

I have coded this little script, which upload a photo (images/hand.jpg) into a users profile in the default application album (in the app-album from witch im calling this script). Now i have a problem. I would like to get the unique pid (picture id) of the just uploaded photo. When I try to echo $data, there is a int like this: 120629...

Facebook Extended Permissions to access Non-Friends Album/Photo

Hi All, Using an access token with offline_access (which I believe is the ultimate and most powerful extended permission), I can't seem to access a non-friend album (returns an empty JSON dataset). However, using my Facebook account, I can view that album in my browser. I've tried using friends_photos extended permission but I still c...

Facebook stream publish question

hello, how do i add a link in message? $msg = 'hello, how are you, we posted an update on our site'; $action_links = array( array('text' => 'sitename', 'href' => "http://domain.com/news/latest.php")); $action_links = json_encode($action_links); works but without href link $fbclient->api_client->stream_publish($msg); works but with...

Using both Facebook Graph API and Old Rest API? Please help!

Hello! I am developing a Facebook application that will use Facebook events. I want to be able to create and edit event as well as invite users friends to the event. I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites. I saw that the Old Rest A...

Facebook: Using the like button with a facebook photo

These sorts of facebook problems often become tumble weeds, but I thought I'd try anyway. I'm wanting to create a facebook photo vote app with facebook connect. Photos in a certain facebook gallery will be displayed on a website with a like button next to it. They will be ordered by their number of likes. I'm having trouble with the li...

Does the Facebook Connect oauth access_token reliably contain the facebook user id?

I have a facebook connect app all set up using oauth and after the final transaction I receive an access_token that looks something like - 559514387926|f53be3fc76b8e243aaf2944b-502835064|moXh_HOIga8b32txRdwkan-5NW9. The part in bold seems to be facebook user id of the current user. I checked this with all the access_tokens of the users...

Facebook Interview Question: Formatting a collection of times for a movie show time output (using Linq is preferred)

class TimeObject { DateTime time; bool isMatinee; } Given: {8:00, 9:30, 11:00, 12:10, 2:00, 4:00, 5:20} -- a collection of TimeObjects Output: (8:00AM, 9:30, 11:00, 12:10PM, 2:00), 4:00, 5:20 -- return a string, oh and AM/PM should be picked up from localization strings Caveats: AM/PM only shown for first time, ( ) encloses th...

Like a facebook post on my application

I have one application where admin posts on the wall of one facebook app and same appears in my application (in PHP). We show like button for each of these posts and when any logged in user likes any of them it throws error "exception 'FacebookRestClientException' with message 'User not visible'". However, if user is a fan of app or he i...

Facebook Chat login

I can fetch access_token of facebook using Facebook API that is http://api.facebook.com/restserver.php . Is it possible to use the same Access_token to login at Facebook chat. ...