0
votes
1answer
45 views

Whats the mistake here?

It is probably a silly mistake but i'm into splits because of it :( Language : PHP 5.4.7 \n Framework: CodeIgniter 2.1.3 , SDK: Facebook PHP SDK 3.2.2 Please consider the following Controller ...
1
vote
1answer
10 views

Extending a Facebook token from PHP only extends sometimes

I am using the PHP Facebook SDK. When I receive a user token, I attempt to extend it as suggested like so: $fb_config = array('appId' => $app_id, 'secret' => $secret); $facebook = new ...
0
votes
1answer
23 views

Getting Friends Likes and Information using Graph API

I am having trouble getting a user's friends' likes. I can get gender, name and birthday, but not television, movies, music,books, games and likes. Note, the user selects a friend, and then the ...
1
vote
3answers
22 views

php sign up facebook, twitter and google + without duplicate accounts

i'm building a website where you can signup with facebook - twitter or google plus and i wondered if there is something that connects these three social network sites ( common id ) so i can have only ...
0
votes
3answers
32 views

facebook access_tokens in php and js diffeerent?

I am going crazy here, i dont understand how facebook handles the token thing. I use php sdk for web login. This works, i can get with $facebook->api('/me'); the data from user etc. But after ...
1
vote
0answers
27 views

use facebook privacy on external sites

I'm not sure if the title fits. Let me describe what I'm thinking. I'm not familiar with facebook API. You see, I have this page on a site. And I want this page to be visible only for my friends on ...
0
votes
1answer
19 views

Unable to Logout out of PHP Facebook app using $facebook->destroySession();

I have been trying to create a basic Facebook app using PHP based on the example provided in the Facebook API folder. The steps that I follow are: Open ...
-3
votes
0answers
10 views

How to get user ids who share, like and comment my post using facebook API? [closed]

I have created a page on facebook. I want to create a new app and link it to this page. Now I want all those user ids who like, share or comment on my post when I post something on my page.
0
votes
2answers
33 views

How to display image in Facebook Sharer?

I'm using the code to display pop-up Facebook Sharer, but the glitch is, the image is not displaying. <?php $title="My Wedding Lookbook! | BridalBook.ph 3rd Anniversary Promo"; ...
0
votes
0answers
12 views

How to Post Thickbox Review Content To Facebook User Profile Using Checkbox

I have a webpage that uses PHP and JQuery to open a review form. The user can click the "Leave Review" link and a Thickbox dialog is opened within an IFRAME allowing the user to submit a review within ...
-1
votes
1answer
22 views

May I post user timeline/wall from CodeIgniter PHP framework? [closed]

I want to post some data from my website (when I post some articles) using CodeIgniter Framework to my Facebook wall (not Facebook Fan Page timeline/wall). I don't understand how to do this. If ...
2
votes
2answers
17 views

How to clear the data of Facebook App object

I have visited this link but cant get any help $facebook->getUser() ALWAYS Returning ID - Can't Logout the problem is when $facebook->getLogoutUrl is executed it just logout the user from ...
1
vote
4answers
29 views

Facebook API Login not connecting with facebook

i have visited all of the below links but can,t solve my problem from it Facebook api - login problem Cannot login through Facebook facebook login, getuser not working properly creating facebook ...
0
votes
1answer
36 views

still getting “The parameter app_id is required” error on Facebook API login

I cannot get the FB API example to work. I have my app registered (tried both sandbox and standard mode), I provided appId and appSecret when instantiating the facebook object, but when I click the ...
-1
votes
0answers
20 views

friend and friend of friends in facebook [closed]

I am trying to extract all the friends and friends of friends in my facebook app , its working fine , but as soon as a someone who as been restricted by one his friends , or whose friends have listed ...
0
votes
0answers
16 views

Is it possible to upload photos to Facebook fan page via email using PHP?

Recently I tried to upload photo to my fan page via email it works well with Gmail and Getresponse. So I tried to write a php code to mail it, but it seems that facebook will refused any of my email ...
1
vote
0answers
20 views

How do I detect Facebook login status in PHP after Javascript logout?

I'm calling the FB.logout() and FB.login() functions in the Javascript SDK. In each case, I'd like to call a PHP "sync" script via AJAX to keep my server status up-to-date. For example: FB.init({ ...
-3
votes
1answer
19 views

Saving bunch of photos fetch using php as one single file? [closed]

I have fetch bunch of photos from the web using php (profile page from facebook) now i want to save those images as single file. $user_profile = $facebook->api('/me','GET'); $user_id = ...
0
votes
0answers
13 views

Issue of “Facebook connection failed.” on Magento upgrade from 1.5 to 1.7.0.2 version

Facebook login was implemented by using Inchoo extension on my magento app (version- 1.5). Working fine on this version. Right now, we are switched from 1.5 version to latest 1.7.0.2 version. After ...
1
vote
0answers
30 views

Facebook scraper redirects page to about:blank and returns 404

When someone hits the like-button on our website randkrant.be, Facebook is unable to scrape the page because it automatically redirects the page to "/about:blank" and returns a 404 error. There's no ...
0
votes
1answer
23 views

Share highcharts to Facebook and Twitter ?

Hi guys i am working on highcharts and as our current project is going to be facebook and twitter integrated. is there anything that allows highcharts on a page to be shared on facebook on click of a ...
0
votes
0answers
18 views

Facebook Graph API and FQL return different data

I am using Facebook's FQL on my website to pull the 'Share' count for a number of items. Recently it has stopped counting new shares. Graph API tends to report the correct value (sometimes..?) and FQL ...
1
vote
2answers
46 views

How do I get Facebook page username or facebook page ID from url

I've made a website where users can submit their Facebook page and I orginally coded it assuming that they would of set up a vanity URL for their page. E.g. http://www.facebook.com/myfacebookpage ...
0
votes
0answers
33 views

How to hide Facebook's Send Dialog?

I cannot figure out how to hide Send Dialog. I read the Facebook Send Dialog article. What I am trying to achieve is to hide the popup window by pushing the button to send the dialog. Can someone ...
0
votes
0answers
26 views

Facebook og:image meta tag with one image displays multiple thumbnail previews

Facebook displays three thumbnail images when setting just one image in the Facebook og meta tag: <meta property="og:title" content="Keystone Business Products - Allentown, Reading, Scranton ...
0
votes
1answer
41 views

php variable in query - postgresql

I have problem with query value. This is working. $userArray = $database->select("app", "fb_id=14175962160"); but this isn't working. WHY? $user = $facebook->getUser(); // contains my fb id ...
-1
votes
1answer
48 views

PHP how to get facebook profile name

function getTitle($Url) { $str = file_get_contents($Url); if(strlen($str)>0) { preg_match("/\<title(.*)\<\/title\>/",$str,$title); if(empty($title)) { ...
0
votes
0answers
22 views

Facebook login with dynamic PHP site

I've implemented Facebook login into my website. It works fine for the first page but all other sub php pages like: www.mysite.com/index.php ?p=4 just won't get the user information from Facebook. ...
-2
votes
0answers
21 views

how to show only the users specific uploaded file [closed]

As my question before for file uploads, I have successfully resolved with all your help, Now here's my next question. I want to show only the uploads for the specific user, simply, I wanted to say ...
0
votes
0answers
16 views

Post a scheduled feed with Facebook sdk

When I try to post a scheduled feed, I send beyond the normal parameters I send published parameter and scheduled_publish_time. But the error message "Uncaught OAuthException: (# 100) The specified ...
0
votes
0answers
21 views

how to limit the image being shown in the thumbnail box when sharing a particular item on facebook?

How to limit the image being shown in the thumbnail when sharing stuff on facebook?, there is this og:image parameter for the meta data of a page if you wish to share some image as well on ...
0
votes
0answers
29 views

Tag user in a facebook post with javascript SDK and PHP

I'm trying tag a user in a post with th code below: FB.api('/me/feed', 'post', { message: 'Mensagem', name:'Test', description:"Test", picture:"picture_address", ...
-4
votes
0answers
32 views

How to create an API similar to Facebook with Php [closed]

I am creating a website in which I would like people to play games. I want to do something like Facebook is doing, which is letting other game developers create games and submit on Facebook. I do not ...
0
votes
0answers
11 views

API Error Code: 191 for Share Dialog in facebook UI

API Error Code: 191 for Share Dialog in facebook UI I've been trying to make the FB.ui to work. Unforunately, I keep getting an error: An error occurred. Please try again later. API Error Code: 191 ...
0
votes
0answers
22 views

How to develop Facebook application on local server?

I'm a newbee in Facebook app development. Can someone please help me with a detailed description of how I can work on my FB application on a local server? I followed the guidelines in heroku, but it's ...
0
votes
2answers
56 views

Check if a user likes my page via website [duplicate]

How do I check if a user who is logged in to my website via the facebook php sdk has liked my page so that I can show him some secret content...
0
votes
1answer
80 views

Prevent user from like/ share/ add comment to content if he is not directly logged into my website

I am trying to integrate facebook login, like, share, comments in my website. I successfully done this job "individually" which is obviously easy when the fb documentation is followed. Now the ...
3
votes
5answers
3k views

How do you get a facebook user's information and insert it into a database?

I wasn't sure how to ask it, but I am trying to teach myself how to create a program that uses the graph api. Most of the tutorials I have seen are older, and I don't know how relevant they are now. ...
0
votes
3answers
2k views

Facebook infinite loop (&state= and &code= params keep refreshing, but only on FIREFOX) PHP

Please debug, this is a PHP page on my site to handle Facebook permissions for an app. PROBLEM - My user is supposed to: >> Click on a link on my site ("install link") >> Get sent to a page: ...
6
votes
4answers
15k views

Displaying a Facebook newsfeed/timeline on a website

I have a client who wants their company's Facebook newsfeed/timeline to be displayed on their website. It's not a personal timeline/newsfeed, but an organisation's. Everything I've read seems a few ...
2
votes
2answers
2k views

Facebook like - php code - set og:image

I have facebook button on my site. It looks like: <span class="fblike" style="float:right;padding-top:5px;margin-left:8px;"> <div id="fb-root"></div> <script> ...
9
votes
3answers
3k views

How to generate Unique Integer Only IDs like Facebook Twitter

After searching SO and other sites, I've failed to come up with conclusive evidence to how Facebook, Twitter and Pinterest generate their ID's. The reason this is needed is to avoid url collisions. ...
1
vote
1answer
540 views

How do I authorize the user in a facebook pages tab?

I have problems with authorizing of the user in a facebook page tab. I have tried a lot of different methods in both PHP and Javascript without any luck at all basically. If someone could explain ...
2
votes
5answers
1k views

how to add hidden fields in Facebook Registration Plugin?

i am using facebook registration to send some data to a post.php file: <?php $fields = json_encode(array( array('name' => 'first_name'), array('name' => 'last_name'), array('name' => ...
0
votes
1answer
2k views

How to use current URL as Href in facebook comments?

I'm using the facebook comments plugin, I believe I was using it without setting an href and it automatically used the current url as href but it stopped working saying I MUST set href. How do I set ...
1
vote
2answers
403 views

Error while loading the default page on Faceboook App

Hello everyone, i am new to codeigniter and Facebook App. I went through one tutorial for the Facebook App with codeigniter. I did all the settings and everything but when i load the ...
2
votes
1answer
2k views

Publish image on facebook user's wall with php

Is there a way to send image to a facebook user's wall? To publish texts I use this code: $arpost = array( 'message' => $text, 'access_token' => $token ); ...
2
votes
2answers
4k views

How can I get all my photos from Facebook with PHP SDK?

I am new to Facebook and PHP and so far I managed to connect to Facebook session + permissions, and even to get the logged in user profile picture. question si : how can I get all of the logged in ...
10
votes
3answers
5k views

PHP OpenID Library that allows facebook / openid / twitter, etc;

I am looking for an already completed openid login library that I can just 'plug' into my application and allow for access using any of the openid, facebook, twitter, methods that you would see on ...
34
votes
2answers
7k views

What does it mean to start a PHP function with an ampersand?

I'm using the Facebook library with this code in it: class FacebookRestClient { ... public function &users_hasAppPermission($ext_perm, $uid=null) { return ...

1 2 3 4 5 131
15 30 50 per page