If I share a link from my website directly on my websites facebook page and it's liked there, it translates to likes on the actual website page (the like counter increases). I've figured out how to automatically post through php to my websites facebook page but the likes on facebook don't translate to likes on the actual page that's shared. Is there a way to make this happen?
meta tags all appear to be correct, still don't have the likes translating
I am trying to develope a facebook application that allows the users to create an album in my application and upload photos to it. I read some articles but those were very confusing. Could anyone tell me where I can get some simple article regarding this. I have no idea where to start from.
I want to develop a Facebook connect application that can operate both inside a Facebook canvas or standalone. Can I check if the user is using Facebook canvas / not using the official Facebook PHP client library?
Is it possible for me to post a message on a given users facebook wall, if they perform a certain action on my website?Basically, I am looking for a step by step guide to achieve this, as I have not been able to figure out how to do this via the facebook documentation.
I've been building a web app that uses facebook integration for easier registration/login and notifications for the users. However, for the notifications I want to be able to post to a users facebook wall when something happens on our site.
Really I see two possible problems with doing this. First being that the user will most likely not be logged in to our website when the notification needs to happen. Second I have not found a way to post to the feed using any identity other than the current logged in user.
So to reiterate exactly what I'm trying to do. When some action takes place on my site involving Bob, I want the websites application to post on Bobs wall notifying him of the action as if the application is one of Bobs friends. From some of the things I've seen while researching this, it seems as if facebook might not treat applications like users and I might have to go through a page to accomplish what I want.
I was wondering if i could possible write an app, that could be a list of all my friends and just simply posting a message to their walls on the friends i select. Not a message, a wall post. So it appears that i went to their wall and wrote a message, they have no idea that an app is pushing the message to them.
also could it be written in python :) its what i know. php is so icky, but doable if it is the only option.
Without $isfan, it shows me the correct output. But with this question, I always see the else statement (also when I am a fan). Maybe my $pageid is not correct. I showed on my page [URL] and used 107785359249238 as pageid.
I want to rank my pages by the ammount of Facebook likes they have (via the facebook like api). Is there any way for me to automatically insert a value to mysql via PHP when the like button is clicked? Or a way for me to collect the ammount of likes for a page then insert that value? Is there anyway of doing this with the Facebook API?
I've a facebook app which posts in the user wall. In the post there is a link (to my app) and in the liked page there is a like button.Now I'm making a script that will run once per hour (set from the crontab). In that script I need to get two different likes count:Likes in the message posted in the wall.Likes done in my app (with the button).For the first one I've made this code:
Does anyone know if there are any ways for me to use facebooks api to check if my invited friends have installed my application on their profile facebook page is this possible if so where can i go to find out?
I'm trying my first very basic Facebook app using php and have stumbled upon a bit of a problem. When being authenticated i can easily enough use the graph api to get information about my account...
$movies = $facebook->api('/me'); echo 'Me'; debug($movies); which results in a nice array Array ( [id] => 1000.... [name] => .............
When I use the demonstration link from the graph api page it displays my likes just fine, but not from inside my app. Anybody has an idea why that might be? As far as I could find out there is no need for extra permission to get the likes of a logged in user, basic permissions should suffice?!
I have been testing a way to show all my facebook 'likes' and the associated amount of 'fans'. The code below works but is very slow, and i assume it is so slow because of the large number of queries that have to go through Facebook's api due to the for each function. Is there a away to do the same thing as i do below, but with only one query (not using the for each)?
I want to retrieve the profile ids from my friends list those who comment and like most of the stuff I put on my wall. So far I have retrieved a list of 30 friends who share the maximum mutual friends with me.
Now I need to sort these 30 again based on comments+likes.I use php.
There are 2 tables involved: users and ip_logs. Everytime a user signs in, their ip address is recorded as a new row in the db. So this script is meant to check which users log in from the same IP address and display their username. So username from the users table and ip from the ip_logs table.
PHP Code: $sqlip="SELECT * from ip_logs where userID='".$data['id']."'"; $queryip=$DB->query($sqlip); $rowip=$DB->fetch_array($queryip); echo '<b>IP ADDRESS :</b><br />'; $sql="SELECT users.id as id, users.username as username FROM users, ip_logs WHERE users.id = ip_logs.userID AND ip_logs.ip = '".$rowip['ip']."'"; $query=$DB->query($sql); [Code].....
I want each statement to be executed during the appropriate dates i.e. "Happy Thanksgiving" from 11/24/2010 to 11/28/2010, and "Happy Holidays" from 12/18/2010 to 12/31/2010. The problem is that both statement are being executed regardless of the date conditions I use?
I have a voting system for posts users make where other users can like/dislike currently is displaying one number. This number is if a user likes, goes to '1' if they dislike goes back down to '0' I want it to display how many like it has and a seperate number for how many dislikes it has I believe my current score code is this.
$net_vote = $row['votes_up'] - $row['votes_down']; //this is the net result of voting up and voting down
Is this correct? How can i make it so it displays both scores? one for 'like' one for 'dislike'
Is it possible to fetch the "likes" data from a user's profile using the old rest api ? Specifically FB has launched this new "Likes" feature recently, where a user can Like a page, etc. This information is visible under the "interests and likes" section of the Info page of a user. I am looking for a way to fetch this information using the old rest api. Is there a field in user.getInfo that I can query on that will return this information ?
I have a list of links and on each individual page there's a "like" button to "like" that page. But I want a "like" button next to each link in the list which will like the URL of the link next to it (just like it would if you clicked on the link and then the "like" button).
How do I do this?
To create the button on each individual page I use the following code:
I was wondering if it's possible to integrating your facebook event into your own website?and without creating a facebook application (means, you dont have app id, secret etc - you only have eventid/eid)
and what i'm trying to achieve is:
my event is a private event means only invited people can see the event details and I want to list/parse the event wall post, and show it in my website is it possible to put attend/maybe/not attend action on my website i want to show/list photo of my events as well so the application flow more or less would be like this:
once the user come to the site, I'll check
if the user logged-in into facebook then
if user invited to the event then full access to the site return; else access denied (sort of) end if else show facebook login form / ask the user to login into their facebook account end if
what is the effective way to achieve it? should i create FB application?