including the "facebook.php" file gives an error because that file have a line that includes a file named "base_facebook.php" and which you didn't mention, anyways that file (base_facebook.php) should be uploaded to your directory (exactly where facebook.php is). I think they updated the files since you made this tutorial. Anyways, it's a great tutorial but come on Jesse we want more of that :)
@yarkanz your hosting provider must have given you a differant directory structure. but the idea here is to put the folder in your root of website - where you put websites homepage index file.
I built a website where I use PHP to manage all of my users that sign up in a database. Is there a way that I can have users login with Facebook, but then save their authorization and information into my database? I have always been confused about how the both of them will interact with each other. I want my website users to be able to log in with both, but if they use FB, it creates a profile for them on my site with all of the info they have on FB, otherwise they signup manually. possible?
I am working on a app that connects you with friends that allows them to see your christmas list. I am struggling with allowing certain friends to see your list or not. Do you think this is something that can be done within facebook, or will I just have to keep track of who allows who in my own mysql database. Its like, I know how to get a user to give permissions to the app, but what about users giving permissions to other users, if you know what i mean.
@Lloyd1073 You might have changed your Permissions, and the user has your old permissions for the app. So you have to unauthorize the app, then reauthorize it.
Although it is the simplest tutorial I've ever encountered on the net, is also the best and managed to make me understand very well how to create an app for Facebook.
do you know how to use the graph api to post in a friend wall using the app?? im trying this since a few days ago, I can do it with the Graph Api Explorer, but I couldn't using PHP code... thnkss..
@programmingismylife If you Download the Facebook SDK 3.0 Version or Above you Can't use getSession() Function. SO Download SDK 2.xxx Version. There will be no errors After That. (github.com).
i exactly followed your tutorial and spent 2 hours on it but it didn't work for me , could you please send me this file so i could see what i am doing wrong?
Hey, great video! I'm having issues with > $me = $facebook->api('/me'); < though. The code is catching an error and outputting "couldn't connect to host" as the error message. Do you have any idea what this might be due to?
@TorisTechShow I use PHP pretty in-depth, SQL (But not on a DBA level), JavaScript (Prototype/JQuery), xml/yaml/css/html, server configs, python/java which im fairly new to
@JREAMdesign this is really nice. but i noticed some of your windows customizations really came in handy because it made it quite efficient. Do you mind sharing how you did that? thx
@JREAMdesign you don't have a dock and your quick links are located on the top of your screen. it looks a little more efficient. btw, what do you use for FTP? I use someone else's copy of dreamweaver for that but im looking for something I can use on my own. Thx and great vid :)
@Venistro I think, but im not certain, you have to do with with a verified account (like you verify your ph number or cc number at facebook). I am not sure thuogh, just keep in mind it would be a bad idea to abuse these services, i should have mentioned that,
Thanks
also getSession is getUser
mradulization 13 hours ago
including the "facebook.php" file gives an error because that file have a line that includes a file named "base_facebook.php" and which you didn't mention, anyways that file (base_facebook.php) should be uploaded to your directory (exactly where facebook.php is). I think they updated the files since you made this tutorial. Anyways, it's a great tutorial but come on Jesse we want more of that :)
cavow 2 weeks ago
This has been flagged as spam show
@yarkanz your hosting provider must have given you a differant directory structure. but the idea here is to put the folder in your root of website - where you put websites homepage index file.
piximm 4 weeks ago
Comment removed
piximm 4 weeks ago
This has been flagged as spam show
i can't find h ttpdocs folder on my ftp..... can u explain this a bit where can i create this new folder named test on my ftp?
yarkanz 1 month ago
i can't find TTPdocs folder on my ftp..... can u explain this a bit where can i create this new folder named test on my ftp?
yarkanz 1 month ago
Kat is messaging
ahdweb 2 months ago 4
I built a website where I use PHP to manage all of my users that sign up in a database. Is there a way that I can have users login with Facebook, but then save their authorization and information into my database? I have always been confused about how the both of them will interact with each other. I want my website users to be able to log in with both, but if they use FB, it creates a profile for them on my site with all of the info they have on FB, otherwise they signup manually. possible?
desaad37 2 months ago in playlist Uploaded videos
thank you very much for this video. it was very helpful.
alexwhb122 2 months ago
do you own fbanr.com?
dape8459 2 months ago
Thanks a lot! this tutorial help me.
hasacitto 3 months ago
Source code, please? Couldn't find it on jream.com/learning/videos/facebook/facebook-php-tutorial-sdk . Thanks.
screws0ft 3 months ago
I am working on a app that connects you with friends that allows them to see your christmas list. I am struggling with allowing certain friends to see your list or not. Do you think this is something that can be done within facebook, or will I just have to keep track of who allows who in my own mysql database. Its like, I know how to get a user to give permissions to the app, but what about users giving permissions to other users, if you know what i mean.
ratbait1 3 months ago
Nice but doesn´t work with php sdk 3.1.1. Can you update the code? Thanks a lot.
Manubmndav 3 months ago
@Manubmndav req_perms is now scope.
JREAMdesign 3 months ago
Nice one ,, have been looking a for a good tut on FB api ,, yours looks good.. :)
TrojanSpike1 4 months ago
Great video man.
fabelous9 4 months ago
@fabelous9 thanks :)
JREAMdesign 4 months ago
Hi, thanks for the video. great one.. If I want to create an event and post it on FB how should I do it
schalla27 4 months ago
Great tutorial!
stevezur 4 months ago
will this work with facebook sdk 3.0?
johnnyLikeVideo 5 months ago
Hi, i have been trying to get this to work for a few hours but i get the following error message -
(#200) The user hasn't authorized the application to perform this action
then the logout text is displayed ? Any ideas
Lloyd1073 5 months ago
@Lloyd1073 You might have changed your Permissions, and the user has your old permissions for the app. So you have to unauthorize the app, then reauthorize it.
JREAMdesign 5 months ago
Looking forward to see more facebook app development tutorials with PHP.
abmixtape 5 months ago in playlist Facebook Tutorials
req_perms is now scope.
DimpiSB 6 months ago 2
@DimpiSB this should be thumbed up, i hate when they do breaking changes
JREAMdesign 5 months ago
Thank You That is Useful Introduction
wd3bbas 7 months ago
PS: instead of $facebook->getSession(), it is now $facebook->getUser();
i got an error n i didn't know wtf to do till i checked the example out n found this
1ma4ighter 7 months ago
Although it is the simplest tutorial I've ever encountered on the net, is also the best and managed to make me understand very well how to create an app for Facebook.
ptsymbiosys 7 months ago
@ptsymbiosys Glad it helped :)
JREAMdesign 7 months ago
Amazing vid I am wondering I am making a simple chat app so would Facebook allow me to use the user data as chat login details or would i be blocked
0oxcmdhackerxo0 7 months ago
Hi there! Nice tutorial...
i am actually following it to create my first app...
BUT... (there is always a but)
i have this nasty error... have tried everything to solve it but just cant...
Here it is:
Call to undefined method Facebook::getSession()
Help?!
thanks.
Cheers.
le19an75dro 7 months ago
@le19an75dro this function is called getUser() in the new facebook php sdk
loriancoltof 7 months ago
@loriancoltof thanks... gonna try that one now...
cheers!
le19an75dro 7 months ago
do you know how to use the graph api to post in a friend wall using the app?? im trying this since a few days ago, I can do it with the Graph Api Explorer, but I couldn't using PHP code... thnkss..
mintroini 8 months ago
thnx its pretty nice)
darkreligion1 8 months ago
Thank you!
WyandHatesYou 8 months ago
Why did you ignore Kat? Poor Kat...
SteveDFM 8 months ago
@SteveDFM Who is Kat?
JREAMdesign 8 months ago
@JREAMdesign She sent you a FB message
rockYhre 8 months ago
@rockYhre I didnt get any message from someone named Kat, they probably have the wrong FB :)
JREAMdesign 8 months ago
this is the error Call to undefined method Facebook::getSession()
programmingismylife 8 months ago
@programmingismylife put that inside try { Facebook::getSession(); } catch(Exception $e){ echo $e->getMessage()) to see what it is
JREAMdesign 8 months ago
@JREAMdesign i didn't give anything back
however i figured out , i was using i think 3.13 version i realized it should be 2.12
programmingismylife 8 months ago
Comment removed
TeshanGuruge 7 months ago
Comment removed
TeshanGuruge 7 months ago
@programmingismylife If you Download the Facebook SDK 3.0 Version or Above you Can't use getSession() Function. SO Download SDK 2.xxx Version. There will be no errors After That. (github.com).
TeshanGuruge 7 months ago
i exactly followed your tutorial and spent 2 hours on it but it didn't work for me , could you please send me this file so i could see what i am doing wrong?
programmingismylife 8 months ago
thank you , i love your tutorials .. why you used TRY and Catch and why we use this?
programmingismylife 8 months ago
Thank you for taking the time to make your tutorials! Subscribed! Very insightful.
MCTeacup 9 months ago
@MCTeacup no problem! Good luck!
JREAMdesign 9 months ago
Very helpful , thankyou very much for sharing
techsathee 9 months ago
@techsathee you are welcome!
JREAMdesign 9 months ago
Hey, great video! I'm having issues with > $me = $facebook->api('/me'); < though. The code is catching an error and outputting "couldn't connect to host" as the error message. Do you have any idea what this might be due to?
JimpleFish 9 months ago
@JimpleFish you probably have to have cURL enabled in your php ini thatd be the first thing id check
JREAMdesign 9 months ago
Very good video. Thanks very much for your help.
ezekielthemack 9 months ago
@ezekielthemack no problem!
JREAMdesign 9 months ago
please do a tutorial on OAuth and OpenId ....
ptldhimant 10 months ago
@ptldhimant Ill do this soon -- OAuth is pretty hard, just a warning! And OpenID i really hate!
JREAMdesign 10 months ago
Hey jesse! Kat messaged you! :D
jimjimmy1995 10 months ago
Your tutorials never disappoint me.
truxerIGEN 10 months ago
@TorisTechShow I consider JavaScript programming its just not compiled
JREAMdesign 10 months ago
@TorisTechShow I use PHP pretty in-depth, SQL (But not on a DBA level), JavaScript (Prototype/JQuery), xml/yaml/css/html, server configs, python/java which im fairly new to
JREAMdesign 10 months ago
esto es una mierdaaaaa..
rapblack2 10 months ago
Incredible tutorial!! I'm hoping beyond hope that this is is the first video in a series of videos on the same subject. Thankyou very much :)
denno021 10 months ago
What font is that in your Notepad++?
jvdanilo 10 months ago
can you show how to do this using localhost?
divac7777 10 months ago
@divac7777 You can't validate facebook on localhost because you'd haev to point to a actual domain or IP address.
JREAMdesign 10 months ago
@JREAMdesign i got it to work on localhost after searching around.
divac7777 10 months ago
@divac7777 Did you have to route an IP to your localhost?
JREAMdesign 10 months ago
@JREAMdesign I did this...
Site URL: localhost:8080
Site Domain: localhost
divac7777 9 months ago
@divac7777 Oh cool thanks man! This could be useful!
JREAMdesign 9 months ago
thanks !!!
nevet1234 10 months ago
@nevet1234 welcome!!
JREAMdesign 10 months ago
awesome! do more tutorials that involve using an api
divac7777 10 months ago
@JREAMdesign this is really nice. but i noticed some of your windows customizations really came in handy because it made it quite efficient. Do you mind sharing how you did that? thx
flagman57 10 months ago
@flagman57 I use Windows Key + E to open Windows Explorer, not sure what else you see is useful? :P
JREAMdesign 10 months ago
@JREAMdesign you don't have a dock and your quick links are located on the top of your screen. it looks a little more efficient. btw, what do you use for FTP? I use someone else's copy of dreamweaver for that but im looking for something I can use on my own. Thx and great vid :)
flagman57 10 months ago
Congratulations on being a YouTube partner! You deserve it.
KDALove 10 months ago
@KDALove thanks :)
JREAMdesign 10 months ago
cool video - developing also a web2.0 friedly webapp :) with twitter and fb
akhlaq87 10 months ago
Awesome tutorial, please share more tutorias about develope facebook application. Thanks in advance
yyassaman74 10 months ago
Nice tutorial, but since three days I get only the message „Sorry, something went wrong.
We're working on getting this fixed as soon as we can.” When I try to create a Application on facebook. Lots of other people have the same problem =(
Venistro 10 months ago
@Venistro You have to search google for this -- I had this problem too, its ridiculous! I dont know the actual solution but there is one.
JREAMdesign 10 months ago
@Venistro I think, but im not certain, you have to do with with a verified account (like you verify your ph number or cc number at facebook). I am not sure thuogh, just keep in mind it would be a bad idea to abuse these services, i should have mentioned that,
JREAMdesign 10 months ago
@JREAMdesign Ok thanks.
Venistro 10 months ago
That's so qwwl (cool)!
winfr34k 10 months ago