Added: 10 months ago
From: JREAMdesign
Views: 13,141
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (88)

Sign In or Sign Up now to post a comment!
  • Thanks

    also getSession is getUser

  • 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 :)

  • Comment removed

  • 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?

  • Kat is messaging

  • 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?

  • thank you very much for this video. it was very helpful.

  • do you own fbanr.com?

  • Thanks a lot! this tutorial help me. 

  • Source code, please? Couldn't find it on jream.com/learning/videos/face­book/facebook-php-tutorial-sdk . Thanks.

  • 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.

  • Nice but doesn´t work with php sdk 3.1.1. Can you update the code? Thanks a lot.

  • @Manubmndav req_perms is now scope.

  • Nice one ,, have been looking a for a good tut on FB api ,, yours looks good.. :)

  • Great video man.

  • @fabelous9 thanks :)

  • Hi, thanks for the video. great one.. If I want to create an event and post it on FB how should I do it

  • Great tutorial!

  • will this work with facebook sdk 3.0?

  • 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 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.

  • Looking forward to see more facebook app development tutorials with PHP.

  • req_perms is now scope.

  • @DimpiSB this should be thumbed up, i hate when they do breaking changes

  • Thank You That is Useful Introduction

  • 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

  • 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 Glad it helped :)

  • 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

  • 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 this function is called getUser() in the new facebook php sdk

  • @loriancoltof thanks... gonna try that one now...

    cheers!

  • 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..

  • thnx its pretty nice)

  • Thank you!

  • Why did you ignore Kat? Poor Kat...

  • @SteveDFM Who is Kat?

  • @JREAMdesign She sent you a FB message

  • @rockYhre I didnt get any message from someone named Kat, they probably have the wrong FB :)

  • this is the error Call to undefined method Facebook::getSession()

  • @programmingismylife put that inside try { Facebook::getSession(); } catch(Exception $e){ echo $e->getMessage()) to see what it is

  • @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

  • Comment removed

  • Comment removed

  • @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?

  • thank you , i love your tutorials .. why you used TRY and Catch and why we use this?

  • Thank you for taking the time to make your tutorials! Subscribed! Very insightful.

  • @MCTeacup no problem! Good luck!

  • Very helpful , thankyou very much for sharing

  • @techsathee you are welcome!

  • 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 you probably have to have cURL enabled in your php ini thatd be the first thing id check

  • Very good video. Thanks very much for your help.

  • @ezekielthemack no problem!

  • please do a tutorial on OAuth and OpenId ....

  • @ptldhimant Ill do this soon -- OAuth is pretty hard, just a warning! And OpenID i really hate!

  • Hey jesse! Kat messaged you! :D

  • Your tutorials never disappoint me.

  • @TorisTechShow I consider JavaScript programming its just not compiled

  • @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

  • esto es una mierdaaaaa..

  • 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 :)

  • What font is that in your Notepad++?

  • can you show how to do this using localhost?

  • @divac7777 You can't validate facebook on localhost because you'd haev to point to a actual domain or IP address.

  • @JREAMdesign i got it to work on localhost after searching around.

  • @divac7777 Did you have to route an IP to your localhost?

  • @JREAMdesign I did this...

    Site URL: localhost:8080

    Site Domain: localhost

  • @divac7777 Oh cool thanks man! This could be useful!

  • thanks !!! 

  • @nevet1234 welcome!!

  • awesome! do more tutorials that involve using an api

  • @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 I use Windows Key + E to open Windows Explorer, not sure what else you see is useful? :P

  • @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 :)

  • Congratulations on being a YouTube partner! You deserve it.

  • @KDALove thanks :)

  • cool video - developing also a web2.0 friedly webapp :) with twitter and fb

  • Awesome tutorial, please share more tutorias about develope facebook application. Thanks in advance

  • 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  You have to search google for this -- I had this problem too, its ridiculous! I dont know the actual solution but there is one.

  • @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 Ok thanks.

  • That's so qwwl (cool)!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more