I have an FBML app that will use the tab as a promo tab before the full app goes live. The purpose of the promo tab is to allow users to opt in to email notifications (using the FB API sendNotifications call), so I need to prompt them to allow the app and grant extended permissions on that promo tab.
The tab code is:
<?php
require_once...
Hi,
I am working with facebook's API and I want to call the links.prevew method.
http://wiki.developers.facebook.com/index.php/Links.preview
Is it possible to call this method without having my user authenticate or "connect"? For example, not all of my users have hooked up their facebook accounts to my website, but I still want to use...
What is the most efficient way to start learning develop Facebook applications? Any web resource or book that you would recommend to start from? Any MUST READ or Bibles available for this? There are plenty of them in Amazon, but which one really worth to spend time?
What kind of development technologies are used in this? Is PHP/MySQL/JS...
<?php
<?php $movies = $facebook->api('/xxxx/movies?access_token='.$session['access_token']);
?>
when i try to get other's user information its returning null array....while when i try this get my information it returnin right..
what am i doing wrong.?
...
I have a application, and i want to publish stream without prompt so i made auto_publish Boolean as true but still application shows prompt box.
...
I have setup facebook authentication using php and it goes something like this
first getting the authorization here :
https://graph.facebook.com/oauth/authorize?client_id=<?= $facebook_app_id ?>&redirect_uri=http://www.example.com/facebook/oauth/&scope=user_about_me,publish_stream
then getting the access Token here :
$url = "h...
I have this code:
$url="https://graph.facebook.com/me/friends?access_token=".$access_token."&fields=id,first_name,last_name&limit=10";
$content=file_get_contents($url);
Whenever I use this on a non authenticated user I should get feedback of OAuthException, which doesn't show up in the PHP the $content is empty. While if I cop...
Hy, i am currently working on a facebook game,the game is good and ready except the storing part!How do you suggest i should store my data!I will use a database, but what is the best way to get data from facebook and into my database trough flash?Thanks a lot!
...
I am trying to upgrade my iPhone app to use the new facebook graph api.
One thing I cannot find is how to find out if the current user connected from my app to facebook is a fan of my facebook page - (i.e. in the new paradigm - whether the user likes my page)
In the Rest Api there was a function isFan, but not in the Graph.
I can get ...
Here is the code:
$ch = curl_init( 'https://graph.facebook.com/btaylor');
curl_setopt( $ch, CURLOPT_USERAGENT, '' );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER ,true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$data = curl_exec($ch);
print_r( $data) ;
curl_close($ch);
It shows few informations from facebook. It works on my local...
In the facebook authentication guide, i am suppose to:
Get the user to authorize my
application, by redirecting them to
authorize uri.
Get my access token
from facebook by hitting the
/outh/accesstoken uri.
Lets just say, that for whatever reason, this token is no longer valid. Do i need to perform step #1, or can i hit the ...
I have a facebook page for the bussiness running and with 27 like users, i already created the like button in the original website, and the amount of users is differents, in the website we have just 13 like users, we tried in iframe and XFBML, and always the same, if we put just a / at the end of the address of the website we had just on...
Does anyone know how to check in ASP.NET (C#) if Facebook is scraping a page? I'd like to be able to check on the server side if the "browser" hitting the page is actually Facebook (e.g. when it grabs details when a user is attempting to share a link).
...
hi friends,
I am making an iphone game , In that I want to upload score on face book. I am new to face book codes, I've got it's API from github.com. But I don't know how to write or post directly my message on wall of face book of log in account else how to share my score on facebook. I've done log in portion.
Can any one help me????
...
What I want to do is automatically post to facebook when a user post something on his profile (inside my app), I want to remember the user facebook credential to post automatically without asking for his credentials again.
Tumblr has already implement this functionality and I want to emulate it.
What is the best way to implement this f...
Hi
I'm planning to develop a facebook application about horoscopes. So i need users and it's friends birthdate information. Is it possible?
...
Hi all i am developing the application to post the data to the face book. I am using face book sdk for this. The problem is when try to display the log in form using FBLoginDialog it displays very big screen with lot of options. But i need the log in form like they display in their example project MyGrades. Please can anybody help me in ...
A 'friend' on Facebook suggested I become a fan of some video library to get free DVDs and on their fan page under the 'FREE DVDs' tab it had some code it asked users to copy and paste into the address bar.
I am wondering if anyone knows what this code would do just by looking at it. I guess I need to be logged into Facebook for it to ...
Hello All,
I have a list of email addresses from people that use my app. Is it possible to query for their facebook public data by email address?
Thanks Richard.
...
<?php
$user_id = $facebook->require_login($required_permissions = 'email,photo_upload');
$has_permission = $facebook->api_client->users_hasAppPermission("photo_upload");
$albums=$facebook->api_client->photos_getAlbums($user_id, NULL);
var_dump($albums);
?>
I am getting null when run this code
...