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...
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?
...
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...
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...
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...
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...
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
...
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 ...
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...
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...
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!
...
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 ...
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 ...
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..
...
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...
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...
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...
is possible to write code(like any links or buttons) only for share text alone without any images & url's in facebook.
thanks
...
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 ...
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...