facebook-application

Facebook user profile picture

Hello, I need to generate a picture from facebook user profile picture and post it to some users' walls. For instance, $attch = array( 'media' => array((array('type' => 'image', 'src' => 'https://graph.facebook.com/'.$uid.'/picture', 'href' => 'https://graph.facebook.com/'.$uid.'/picture/'))); 'src' => 'https://graph.facebook.com/'.$uid...

How to create profile Box with new Facebook PHP SDK (Facebook application)?

Hi guys, sorry for this noob question. I need to know how to create and set up profile box with the new Facebook application PHP SDK? or maybe you can point me to some useful URL. Thanks before for the responses. ...

Facebook PHOTO UPLOAD API

$has_permission = $facebook->api_client->users_hasAppPermission("photo_upload"); if($has_permission and $_GET[pub]){ $response_array = $facebook->api_client->photos_upload("temp/".$user_id.".jpg", "", "Created with http://apps.facebook.com/mshantest/", $user_id); } im trying to upload photo in my app using this code but it doesnt ...

intigrated facebook facepile error

hi all , i am working on project, it needs facepile (plugin of facebook) in index page, how can i do it if any one have idea please help me. ...

how to create Facebook PHOTO_addTag using PHP

I need to add auto tagging to my facebook application so how can i add it ???? please let me know ...

Facebook - using an external flash application to connect via PHP

So, I have this application that needs to connect to facebook. It uses php for all of its data access, in older examples of the facebook API, i see people get the UID, and sessionkey from the iframe page, then send them to php and run a function called $facebook->setUser($UID, $sessionKey). This is how the majority of the tutoria...

is there a way to create a FB app for a single page?

I want to create a FB app for a client's Facebook Page. How do I do this without allowing other pages accessing it as well? Obviously I can do an ID check in my code, but I presume there's a 'proper' way of denying access to all and sundry? ...

How to I post to Facebook user's news stream using the new PHP Graph API SDK?

I have seen example code in javascript for updating a user's newstream but I want to do it automatically from my php webapp when a certain event occurs - In javascript you would use the stream.publish method. I see no examples anywhere for the php graph api library though? ...

Facebook graph api photo upload to a fan page album

Hi guys, I have gotten the photo upload function to work with this code, <?php include_once 'facebook-php-sdk/src/facebook.php'; include_once 'config.php';//this file contains the secret key and app id etc... $facebook = new Facebook(array( 'appId' => FACEBOOK_APP_ID, 'secret' => FACEBOOK_SECRET_KEY, 'cookie' => true, ...

Google's analytics javascript in Facebook app is not executing in IE

google analytics is not tracking visits from IE in a Facebook app. I've been digging around the internet and cannot find a precedent for this issue. I have narrowed it down to the javascript not executing in the browsers which results in GA not tracking the page visit. all help / advice / pointing me in the right direction would be ap...

FB.Event.subscribe + comments.add don't work !?

I'm trying to catch event when comment is sent. What am I doing wrong? I just want to update every user comment also to facebook group wall and that's why I need to catch the event. <fb:comments numposts="10" ></fb:comments> FB.init and event catcher: <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.in...

Can I get the following details from facebook via the API (old, new, whatever)

hi everybody. I have few things that I need to get from facebook through the API, and I dont seem to find a normal way to do it. if you know how, please tell me. The scenario: the admin of a PAGE registered to my application. he gave me every permission I need.I have all his credentials, access key, permanent session ... you name it. I...

Trying to use stream.puclish in SDK Javascript of facebook but i am completly lost

Hello everybody, I created a game a while ago and I just created an application on facebook linked to my game ( www.tingowar.com ) this game is in french. My idea was to give the oppotunity for the player to put on his wall his upgrades in the game like : you are now level 2, as it would make a wonderful advertising for me. So i searched...

fql.multiquery new sdk

I cannot figure out what is wrong with this fql.multiquery and cannot seem to find any examples of the new sdk with fql.multiquery. Ultimately I want to get the page name and page id(s) of the visiting user pages which they both administrator and are fans of. $queries = '{ "page_admin_ids" : "SELECT page_id FROM page_admin WHERE ...

Cookie not accepted on IE when authenticating with Graph API (oauth) - iframe app

Hello guys, I started playing with the new graph api with the python sdk. I'm trying to use the python-sdk in an iframe app to make the authentication (I successfully did it with JS - although the popup is blocked on IE and chrome by default). I'm following this example: http://github.com/facebook/python-sdk/blob/master/examples/oauth/f...

Facebook application - extended permissions

I been reading about Facebook applications for a couple of days now. I created an application and got an ID and SECRET. The documentation recommends to use "Graph" for gaining extended permissions. My question is, is it optional to have a popup, just like the rest of Facebook's popups? (a layer on-top the current screen, without an act...

Tagging a user in a wall post/update using Facebook API

I'm using stream.publish to write to the user's wall and attempted to get "@ tagging" to work but with no avail. If the user's name is Fred and his uid is 1234, I tried sending over "@Fred", "@1234", "@[1234]", "@[Fred]", etc. and couldn't get it to work. The raw string would display every time. Can someone confirm if this is possible ...

Request for permission doesn't work !!

I have added this code on the top of my PHP script: <div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt; <script> FB.init({appId: 'myAppId', status: true, cookie: true, xfbml: true}); FB.login(function(response) { if (response.session) { if (response.perms) { // user is logged...

Flash Facebook Application How to do it

Hi, I'm experienced in database systems. This is the first time I'm developing a web site completely, either i will use firstly flash. I do not know how I can put a flash application as a facebook application, which is working behind with a asp.net page [web services between] If you will inform me about, i will be happy. Sorry for my...

Facebook offline access. Updating status via cron job?

My users have allowed offline access. I have the infinite access token, but can't figure out how to update the status from a cron job. Any ideas? ...