facebook

How to post on the wall using stream_publish

I got the following exception when i try to post a message on a friends wall using the REST API The user hasn't authorized the application to perform this action here is my code. $status=$facebook->api_client->stream_publish($message,null,null,$id,$user); How to get authorization from a user to post a message on his wall? Or a...

Is there Facebook search box component?

I would like to use exactly same search box in my app, (to search ppl and saw her profile picture). Is there any good example how to do it? ...

Publishing to a Facebook Page Wall - With Graph API?

I want to publish to the wall of a Facebook Fan Page, from a python/django web application. The new Graph API looks nice and simple, so I'd like to use that. Unless there is a much easier way :-) I'm guessing the pyFacebook package would do want I want, but it appears to use the old rest interface. pyFacebook is probably a complete o...

iphone image uploading on faceboook

NSMutableDictionary *variables = [NSMutableDictionary dictionaryWithCapacity:2]; NSArray *paths = SearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *uniquePath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"IMAGE_0001.PNG"]; UIImage *picture = [UIImage imageWithContentsOfFile: uniquePat...

Facebook redirect on "Don't Allow" uses unexpected query string: ?error[type]=OAuthAccessDeniedException

I'm implementing a facebook app and use oauth 2.0 to log the user in to facebook, and to request some permissions. If the user chooses Allow, I get the expected response on the redirect_uri (with code parameter which I can exchange to an access_token). This is all working correctly. However, when the user chooses Don't Allow on the Fac...

Silverlight application in facebook canvas fails to call WCF service

Basic structure: http://hospero.de/structure.jpg I have a really strange issue with my facebook iframe application. I am developing a facebook card game. Two players can play a card game against each other on facebook. The basic structure is: The silverlight control is hosted inside an ASP.NET Website which is hosted in localhost for...

Facebook Connect for iPhone - Request to like a page

I'm not sure if this is possible but using Facebook Connect for iPhone, can you request to like a facebook page? If this means showing the FB dialog box that is fine! Many thanks ...

Retrieve total number of friends a registered user to a facebook app

Hi, i have a facebook app, in wich the administrator of the app needs a report of the users registered to this app and one of the data i need is to get how many friends does a user registered to my app has, i was trying with fql using a query like this $facebook->api_client->fql_query("select uid2 from friend where uid1=$userId"); but ...

Can I use the Facebook API to fetch images off my profile?

I have a blog. I want to add a bit of Javascript on my blog to fetch images from my Facebook profile and display them on the blog. I have zero experience with the Facebook API, so at this point I'm just wondering whether this is possible. Can I run some Javascript on my blog to fetch images from my Facebook profile? Or does the Facebook...

Facebook like comment delete -Update Datalist after item delete

Hello guys, I have a DataList containing a list of elements(ASP.Net app). To delete an item i first used tha classic javascript confirmation. As i found it ugly,i want to use a confirmation box plugin. when i click OK==>Delete the item from DB(using a webservice) But how can i update the DataList. The situation is liek: when u add...

Facebook Like Button for Blogger doesn't work properly

I added a "like" button on my blogger page and when I press it, it appears on my facebook page, but just as text "so and so likes so and so" but without the link back. Why is that and does anyone know how to fix it? Thank you! ...

replace NSRegularExpression & NSTextCheckingResult(ios4) to ios3.1 in iphone ?

application is based on facebook authentication & message post on wall after googling ifind some code in this uses NSRegularExpression & NSTextCheckingResult it generate some error becoz this class compatible with ios4 or lator but i using ios3.1 for removing this what i do (i know to resolve this NSString's rangeofstring or substring ...

Facebook Connect: "post-add URL" being loaded in popup window. How can I stop?

I have a Facebook connect setup which signs the user in using FB.Connect.requireSession(), and gets some permissions using FB.Connect.showPermissionDialog() The problem: when the user adds my application for the first time, instead of closing the FB Connect window and setting cookies, it loads the "post-add URL" in the FB connect popup ...

Facebook LIKE plug in under fan page tabs

I am able to add the comment plugin under fan page tab but the LIKE plugin is not working.. But am sure this can be done as Samsung OMNIA did here http://www.facebook.com/SamsungOmnia?v=app_201702137123&ref=ts Please help.. ...

Facebook API - How to check in application for fans?

Hello! I try to create an facebook application. I created a new application and downloaded the framework. In my index.php i do the following: <?php require_once 'facebook.php'; $appapikey = '123456...xyz'; $appsecret = '123456...xyz'; $facebook = new Facebook($appapikey, $appsecret); $user_id = $facebook->require_login(); $pageid = "12...

Facebook PHP SDK - staying logged in

Hey all, I'm currently using the PHP Facebook SDK for my project (http://github.com/facebook/php-sdk/). I have set it up so that a user will have to click a link to visit Facebook, which will then verify the user to use the application, and then return the session details to my site, which is fine. However, I want to store these session...

Can't get user info from Facebook w/ oauth 2.0 for iphone

As soon as the user is logged in, I retrieve the user info using this code: [_facebook requestWithGraphPath:@"me" andDelegate:self]; It worked for the first few times, but it eventually returned an error. I thought it was a session thing since I have "offline_access" on my permissions. I logged out from Facebook and compiled again from...

Facebook Share text alone?

is possible to write code(like any links or buttons) only for share text alone without any images & url's in facebook. thanks ...

Flash, Facebook & permissions - JS, PHP or AS3 SDK

Setting out to develop a Flash quiz application for Facebook, which SDK (JS/PHP/AS3) and Facebook API (Graph/old rest) should I choose? Please also answer how the following would be accomplished using the preferred solution above and why this simplifies the development of the app: Authenticating user on app page Requesting permission ...

Facebook publish to stream and attach link

I'm currently using the Facebook Developer Toolkit to publish to my organization's Facebook page. I'd like to be able to attach a link, but can't quite seem to figure out the syntax. Here's what I'm trying. ConnectSession fbSession = new ConnectSession(API_KEY, API_SECRET); Api fbApi = new Api(fbSession); attachment attach = new attach...