Hey guys,
So I'm trying to learn how to get link stats for a URL using Facebook's API.
This is what I have here:
require "application/libraries/facebook.php";
// Create our Application instance (replace this with your appId and secret).
$facebook = new Facebook(array(
'appId' => 'APP ID WAS HERE',
'secret' =>...
Hi,
Can I change the URL of a page shared through the facebook like button? Is there any meta tags for this?
...
Is it possible to track how often and/or when a Facebook user is using any facebook app? What if they have installed one of your apps, can this be used to collect statistics about app usage? For instance, you could say that a user spent 8 hours playing Farmville in the past 24 hours. Or even total usage of a specific app. What sta...
I don't know much about programming languages, but am interested in a career with facebook, so I was wondering if someone could tell me what programming language facebook uses.
Also, do any other social networking sites use the same language?
...
Hi,
I got error occurred when trying to post to wall on facebook using the below code. It sometimes can post after the first login but always return error later on.
<?php
include_once "include/settings.php";
//include_once "include/messages.php";
if(isset($_GET["access_token"]))
{
$access_token = $_GET["access_token"];
}...
Hi,
I'm building an app using facebook likes, under GAE with python.
I'd like do different actions if user likes the page or not:
page_url=url
if user likes page_url:
#do something
else:
#do something else
I'm interested in checking if the user already likes the page, not in the action of clicking the like button.
Also I'd l...
I noticed a very funny error message Facebook API returns when I tried to use CURL to upload video to Facebook as below:
This method requires an HTTPS connection
Based on facebook api doc: developers.facebook.com/docs/ref … deo.upload
it wrote that:
Video uploads to Facebook happen on a specific set of servers. When you call video.u...
I have a facebook share link, but I want to change its title, instead of using the original title in that page,
e.g.
http://www.facebook.com/sharer.php?u=http://www.google.com&t=Yahoo
Is it possible?
...
I tried below code not working
$attachment = array('message' => 'some meesgae', 'name' => 'This is my demo Facebook application!', 'caption' => "Caption of the Post", 'link' => 'http://mylink.com', 'description' => 'this is a description', 'picture' => 'http://mysite.com/pic.gif', 'actions' => array(array('name' => 'Get Search', 'l...
I'm developing this Facebook Application and I was wondering if it's possible (and how) to programmatically, through the Facebook PHP Graph API, press some 'Like' button on some page?
Of course, this is optional on my application... I'm still not ready to really explain what application I'm doing, but it would be interesting to code suc...
I'm just getting into Facebook application development. I've got some questions about how the applications are developed.
First, there's the Facebook PHP SDK. You can install this to a web server capable of executing PHP, but does that mean if you went to www.example.com/facebook-php-sdk/examples/example.php that it would look like you'...
I have an app that I want to be able to connect to Facebook and post to the user's wall. I have the following code:
(void)viewDidLoad {
static NSString* kApiKey = @"PRIVATE";
static NSString* kApiSecret = @"PRIVATE";
_session = [[FBSession sessionForApplication:kApiKey secret:kApiSecret delegate:self] retain];
// Load a previous sess...
Does anyone here knows how to request extended permissions for a Facebook page using the new authorization mechanism for use with the old REST API?
The documentation tells that you need to redirect the current user to this url:
https://graph.facebook.com/oauth/authorize?
client_id=...&
redirect_uri=http://www.example.com/callb...
I have a list of Area objects that I'm displaying in a Facebook application. I would like to have a link for editing them, next to each row. I would like the form to appear in a <fb:dialog>, so I created the following partials:
# _edit.fbml.erb
<% fb_dialog("edit_area_#{@area.id}", false) do %>
<%= fb_dialog_title "Edit area" %>
<% fb...
Hi, I have just started to play around with facebook api etc and currently looking through examples. I have a button working where the user can login to facebook , and then there first/last name is put into the value of a input box.
I want this to be used so either a user can login to facebook and have the registartion form filled in f...
I am currently getting data from a users profile when they login through facebook, I want to store this data for signup process on my site. When accessing "hometown" it lists it as one such as:
London, Westminster, United Kingdom
The hometown is in an array as follows:
> [hometown] => Array
> (
> [id] => 00000000...
For example i would like to achieve https://graph.facebook.com/search?q=mark&type=user ,
and I am trying:
FB.api('/search?q=mark&type=user', function(response){
for(x in response) alert(x);
});
}
Please, help!
...
Hi Guys,
I have a ASP.NET web site which uses Facebook Connect for authentication - using the JavaScript API and the Facebook Connect FBML Button.
Here is the regular flow of events for a "Connect with Facebook" button click, when user isnt logged into Facebook.
Dialog is shown requesting user to login
Dialog requests permission from...
How do I use the FB Graph API to retrieve a user's mobile phone? Is this even possible? It's not listed as part of the extended permissions, but I was wondering if there was a way I could retrieve that piece of information
...
hi,
i need to retrieve the total number of fans my facebook page has. i can't see how to do this with their api. Does anyone know how i can?
Thanks
...