Facebook/OS Integration

Collapse

Recommended Videos

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dagger55
    No end in sight...
    • Jul 2004
    • 7907

    #1

    Facebook/OS Integration

    Ok so heres an idea.

    Today Facebook has launched a development platform to create web apps, and this really has the potential to change the internet.








    I am a rookie web developer. I'm learning PHP and MySQL right now, and I'm using Dreamweaver. Would any guys out there be interested in maybe creating an app thats lets you sign in, and see all other OSers who are on facebook?

    To me it sounds like a simple app that could be cool for us. I've been playing around with the test console on the development site, and it seems very powerful...

    Here was my basic idea.

    You login to the Facebook app, and we record your id.

    You also enter your OS name.

    We then store your os name and your facebook id in a database, we build a app that shows all the members of OS who have logged in to our app.

    We then add a function to add all these guys as friends.


    If anyone would be interested in maybe creating this, let me know. Like I said I'm just a rookie, so someone with more web development experience would obviously be needed to maybe head the project up, but I think its a pretty cool idea, and it would really be helpful for me to see something like this created.

    Let me know if you are interested!
  • dagger55
    No end in sight...
    • Jul 2004
    • 7907

    #2
    Re: Calling all programmers... (possible OS project)

    I've gone ahead and set up a Project



    Here are the important keys

    API Key = f77aac77d7844f4101c1ffcd49b63a1c
    Secret = 19e5714a0ef9b6cad28e54e61e22b92b


    This could be something we actually get added here to the OS site that is only available once you log in to operationsports.

    Comment

    • dagger55
      No end in sight...
      • Jul 2004
      • 7907

      #3
      Re: Calling all programmers... (possible OS project)

      Ok I know I spoke to ZXLT earlier, and he is interested in helping out.

      I'm sure there are some other guys out there too, just let me know


      Here's what I have found so far.

      I made a quick sample MySQL database. Right now, I think we only have to store facebook id's and the os name.

      Code:
      mysql> SELECT * FROM os_facebook_table;
      +-------------+-----------+
      | facebook_id | os_name   |
      +-------------+-----------+
      | 7005303     | dagger55  |
      | 385752      | os name 1 |
      | 4292746     | os name 2 |
      | 937289634   | os name 3 |
      +-------------+-----------+
      4 rows in set (0.00 sec)


      Once we have this information, we use the facebook call 'user.getinfo(),' and pass facebook id's along with fields we are looking for (i.e. first_name, last_name, pic, location, birthdate, etc... a full list can be found on the facebook developer site)


      The user.getinfo method returns php code like this:

      Code:
      Array
      
      (
      
          [0] => Array
      
              (
      
                  [uid] => 7005303
      
                  [first_name] => Kevin
      
                  [last_name] => Harwood
      
                  [pic] => http://photos-303.facebook.com/ip002/v52/278/21/s7005303_399.jpg
      
              )
      
      
      )
      We then take this code, and can essientially build the page dynamically everytime.


      Facebook has also included something call FBML, which allows us to create code that will actually appear in the facebook site and use their css styles, so it will still look sleak, but i really need to dig more into it.


      Any help would be great. I haven't started writing a line of code, just researching what all can be done with this...
      Last edited by dagger55; 05-26-2007, 09:28 AM.

      Comment

      • The GIGGAS
        Timbers - Jags - Hokies
        • Mar 2003
        • 28474

        #4
        Re: Calling all programmers... (possible OS project)

        Really cool dagger... I'm not much into the PHP/MySQL side of things, but I'd love to try and help out.
        Rose City 'Til I Die
        Duuuuuuuvvvvaaaaaaaal
        Hokie Hokie Hokie Hy

        Member: OS Uni Snob Assoc.
        OS OT Post Champ '11

        Twitter: @TheGIGGAS_OS
        Xbox Live: TheGIGGAS
        3DS: 1349-7755-3870

        Comment

        • dagger55
          No end in sight...
          • Jul 2004
          • 7907

          #5
          Re: Calling all programmers... (possible OS project)

          Originally posted by The GIGGAS
          Really cool dagger... I'm not much into the PHP/MySQL side of things, but I'd love to try and help out.
          There are some really easy tutorials out there to teach you the basics.

          You are going to need to install apache and mysql on your computer. Not hard at all. I'm sure you can handle it.



          Also, the two test consoles on the facebook development site are really handy, and just by playing around with those you can learn a lot.

          The facebook development site also has a sample application that you can check out. Spend a few hours playing around with it

          Comment

          • The GIGGAS
            Timbers - Jags - Hokies
            • Mar 2003
            • 28474

            #6
            Re: Calling all programmers... (possible OS project)

            I've actually put Apache and the php module + mysql on my computer to play around with it. I've built a couple of PHP plus MySQL pages.
            Rose City 'Til I Die
            Duuuuuuuvvvvaaaaaaaal
            Hokie Hokie Hokie Hy

            Member: OS Uni Snob Assoc.
            OS OT Post Champ '11

            Twitter: @TheGIGGAS_OS
            Xbox Live: TheGIGGAS
            3DS: 1349-7755-3870

            Comment

            • Lintyfresh85
              Where have I been?
              • Jul 2002
              • 17492

              #7
              Re: Calling all programmers... (possible OS project)

              I've been playing around with the new applications on facebook and so far it's great! The Picnik photo tool is very cool for a free application as well! Facebook really stepped up with this open ended software stuff... kudos to the crew that runs the site!
              http://flotn.blogspot.com

              Member of the Official OS Bills Backers Club

              Originally posted by trobinson97
              Hell, I shot my grandmother, cuz she was old.

              Comment

              • dagger55
                No end in sight...
                • Jul 2004
                • 7907

                #8
                Re: Calling all programmers... (possible OS project)

                Originally posted by The GIGGAS
                I've actually put Apache and the php module + mysql on my computer to play around with it. I've built a couple of PHP plus MySQL pages.
                hit me up on instant messenger

                Comment

                • dagger55
                  No end in sight...
                  • Jul 2004
                  • 7907

                  #9
                  Re: Calling all programmers... (possible OS project)

                  Good tutorial

                  Comment

                  • dagger55
                    No end in sight...
                    • Jul 2004
                    • 7907

                    #10
                    Re: Calling all programmers... (possible OS project)

                    Originally posted by The GIGGAS
                    I've actually put Apache and the php module + mysql on my computer to play around with it. I've built a couple of PHP plus MySQL pages.
                    you have any php5 webspace from your university?

                    Comment

                    • The GIGGAS
                      Timbers - Jags - Hokies
                      • Mar 2003
                      • 28474

                      #11
                      Re: Calling all programmers... (possible OS project)

                      I don't know if it's php5. I have it installed on my personal computer, though.
                      Rose City 'Til I Die
                      Duuuuuuuvvvvaaaaaaaal
                      Hokie Hokie Hokie Hy

                      Member: OS Uni Snob Assoc.
                      OS OT Post Champ '11

                      Twitter: @TheGIGGAS_OS
                      Xbox Live: TheGIGGAS
                      3DS: 1349-7755-3870

                      Comment

                      • p2xgamers
                        All Star
                        • Jul 2002
                        • 4735

                        #12
                        Re: Calling all programmers... (possible OS project)

                        If you need help with something specific I can definitely help. Unfortunately I don't know much about API but can help with PHP, good luck.
                        Lifelong Bengals and Buckeyes fan...yeah...

                        My Blog

                        Comment

                        • dagger55
                          No end in sight...
                          • Jul 2004
                          • 7907

                          #13
                          Re: Calling all programmers... (possible OS project)

                          Originally posted by p2xgamers
                          If you need help with something specific I can definitely help. Unfortunately I don't know much about API but can help with PHP, good luck.
                          Facebook has released the api on the facebook developer site.

                          it is written in php5.


                          we could use the help! I've been working on some sample stuff... I'll try to get something posted soon.


                          Giggas.... Here is how you to if you have php5.

                          make a file

                          <?php

                          phpinfo();

                          ?>


                          upload to your webspace and run it. it will tell you your version.

                          Comment

                          • The GIGGAS
                            Timbers - Jags - Hokies
                            • Mar 2003
                            • 28474

                            #14
                            Re: Calling all programmers... (possible OS project)

                            Dag... I have all of that and on my personal Apache server, it's php5 with MySQL. I just tinker with it. Java, sadly, is my main language.
                            Last edited by The GIGGAS; 05-27-2007, 12:03 AM.
                            Rose City 'Til I Die
                            Duuuuuuuvvvvaaaaaaaal
                            Hokie Hokie Hokie Hy

                            Member: OS Uni Snob Assoc.
                            OS OT Post Champ '11

                            Twitter: @TheGIGGAS_OS
                            Xbox Live: TheGIGGAS
                            3DS: 1349-7755-3870

                            Comment

                            • dagger55
                              No end in sight...
                              • Jul 2004
                              • 7907

                              #15
                              Re: Calling all programmers... (possible OS project)

                              Originally posted by The GIGGAS
                              Dag... I have all of that and on my personal Apache server, it's php5 with MySQL. I just tinker with it. Java, sadly, is my main language.
                              im the exact same way...

                              I've really only starting learning php and mysql here in the last 2 or 3 weeks...


                              the best way to learn is just play around with it!

                              Comment

                              Working...