Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. FaceBook Is Toast: Spread some PHP on it.

FaceBook Is Toast: Spread some PHP on it.

Scheduled Pinned Locked Moved The Lounge
phplounge
30 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Slacker007

    Stop using Facebook and your troubles with Facebook will go away?

    R Offline
    R Offline
    R Giskard Reventlov
    wrote on last edited by
    #10

    Wish I could. Unfortunately, it is a great way of staying in touch with children, relatives and old friends when we live on different continents.

    1 Reply Last reply
    0
    • Z ZurdoDev

      newton.saber wrote:

      unexpected -- that if Facebook is down then I cannot use my Facebook login to login in to other site

      How is that unexpected? Facebook is the one authenticating you so if it is down, you can't be authenticated.

      There are only 10 types of people in the world, those who understand binary and those who don't.

      N Offline
      N Offline
      newton saber
      wrote on last edited by
      #11

      Right. Not meaning it is unexpected like, duh...facebook is down why can't I log into facebook... :laugh: More like, uh... Facebook is down and I can't login to another site which has nothing to do with Facebook... except, oh wait... I use facebook OAuth.... Here's why it is unexpected... ... Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider. Because FB is a failure. Use Google or Twitter as your OAuth login provider instead. Ahh...

      Z 1 Reply Last reply
      0
      • N newton saber

        Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #12

        newton.saber wrote:

        If you use Facebook as your Social Login at other sites

        Sounds like an "all eggs / one basket" issue -- best avoided. I don't use sites that only allow access from some other site.

        N 1 Reply Last reply
        0
        • L Lost User

          Farcebook came on line here in Florida a minute ago.

          How do we preserve the wisdom men will need, when their violent passions are spent? - The Lost Horizon

          N Offline
          N Offline
          newton saber
          wrote on last edited by
          #13

          I see that Newsweek is blogging on the issue in real time: http://www.newsweek.com/facebook-goes-down-second-time-week-377660[^]

          1 Reply Last reply
          0
          • P PIEBALDconsult

            newton.saber wrote:

            If you use Facebook as your Social Login at other sites

            Sounds like an "all eggs / one basket" issue -- best avoided. I don't use sites that only allow access from some other site.

            N Offline
            N Offline
            newton saber
            wrote on last edited by
            #14

            PIEBALDconsult wrote:

            Sounds like an "all eggs / one basket" issue

            I understand your point and I agree with you from the "yes, all the hype about single sign on is really just that since humans fail at everything" standpoint. However, I also believe in single sign on via OAuth because it is quite a bit safer having fewer access points for the hackers to get you and having fewer passwords to remember. However, I'm sure you'll say, "fewer access points for hte hackers to get you, are you crazy?!" But, I'm saying it in an exaggerated way like: "if humans could do one simple thing right like give me one super-secure sign on that is always guarded so that no hackers could ever get through." However, I know, humans cannot do anything right. :laugh:

            P 1 Reply Last reply
            0
            • N newton saber

              PIEBALDconsult wrote:

              Sounds like an "all eggs / one basket" issue

              I understand your point and I agree with you from the "yes, all the hype about single sign on is really just that since humans fail at everything" standpoint. However, I also believe in single sign on via OAuth because it is quite a bit safer having fewer access points for the hackers to get you and having fewer passwords to remember. However, I'm sure you'll say, "fewer access points for hte hackers to get you, are you crazy?!" But, I'm saying it in an exaggerated way like: "if humans could do one simple thing right like give me one super-secure sign on that is always guarded so that no hackers could ever get through." However, I know, humans cannot do anything right. :laugh:

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #15

              Riiiight... don't count on achieving the unachievable. Having one access point means all the hackers will focus on that one point.

              N 2 Replies Last reply
              0
              • P PIEBALDconsult

                Riiiight... don't count on achieving the unachievable. Having one access point means all the hackers will focus on that one point.

                N Offline
                N Offline
                newton saber
                wrote on last edited by
                #16

                Proliferation of passwords. They'll never get me because I've got hundreds of them. A different one for every site. I have them all written down in a notebook here at my desk labeled: PASSWORD LOG BOOK -- KEEP OUT!!!

                1 Reply Last reply
                0
                • N newton saber

                  Right. Not meaning it is unexpected like, duh...facebook is down why can't I log into facebook... :laugh: More like, uh... Facebook is down and I can't login to another site which has nothing to do with Facebook... except, oh wait... I use facebook OAuth.... Here's why it is unexpected... ... Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider. Because FB is a failure. Use Google or Twitter as your OAuth login provider instead. Ahh...

                  Z Offline
                  Z Offline
                  ZurdoDev
                  wrote on last edited by
                  #17

                  newton.saber wrote:

                  Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider.

                  That makes sense. :thumbsup:

                  There are only 10 types of people in the world, those who understand binary and those who don't.

                  N 1 Reply Last reply
                  0
                  • Z ZurdoDev

                    newton.saber wrote:

                    Uhh...facebook, even if you go down, I should be able to get to the OAuth piece so make it work!! However, I do believe this points out why you SHOULD NOT use facebook as your OAuth login provider.

                    That makes sense. :thumbsup:

                    There are only 10 types of people in the world, those who understand binary and those who don't.

                    N Offline
                    N Offline
                    newton saber
                    wrote on last edited by
                    #18

                    Everyone offers Oauth too -- as if it is a valid choice: See the CP login: http://newtonsaber.com/images/codeproj/logincp.png[^] And STackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^] It's nefarious and perfidious!!!

                    1 Reply Last reply
                    0
                    • N newton saber

                      Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #19

                      Owin is now OLose

                      N 1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        Riiiight... don't count on achieving the unachievable. Having one access point means all the hackers will focus on that one point.

                        N Offline
                        N Offline
                        newton saber
                        wrote on last edited by
                        #20

                        PIEBALDconsult wrote:

                        Having one access point

                        Even CP encourages such behavior. Everyone offers Oauth too -- as if it is a valid choice: See the CP login: http://newtonsaber.com/images/codeproj/logincp.png[^] And STackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^] It's insidious and perfidious, is it not!?

                        1 Reply Last reply
                        0
                        • L Lost User

                          Owin is now OLose

                          N Offline
                          N Offline
                          newton saber
                          wrote on last edited by
                          #21

                          Yes, it is a failed system and the owner/creators should pull it immediately. It must have 100% uptime or it is a failure. Imagine if the key to your car only worked 99.9% of the time! :laugh:

                          1 Reply Last reply
                          0
                          • N newton saber

                            Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

                            J Offline
                            J Offline
                            Jorgen Andersson
                            wrote on last edited by
                            #22

                            newton.saber wrote:

                            If you use Facebook as your Social Login at other sites

                            Lost me there.

                            Wrong is evil and must be defeated. - Jeff Ello

                            N 1 Reply Last reply
                            0
                            • J Jorgen Andersson

                              newton.saber wrote:

                              If you use Facebook as your Social Login at other sites

                              Lost me there.

                              Wrong is evil and must be defeated. - Jeff Ello

                              N Offline
                              N Offline
                              newton saber
                              wrote on last edited by
                              #23

                              You can sign on to CP via OAuth social login: See... (sorry I can't post the image in line) Edit fixed links http://newtonsaber.com/images/codeproj/logincp.png[^] And StackOverflow: http://newtonsaber.com/images/codeproj/login2so.png[^]

                              1 Reply Last reply
                              0
                              • N newton saber

                                I heard the outages mentioned on local radio on Friday. But now today I'm experiencing them. Wonder why there's not more about this out there? Maybe it's a localized problem?

                                OriginalGriffO Offline
                                OriginalGriffO Offline
                                OriginalGriff
                                wrote on last edited by
                                #24

                                Probably because most FarceBook users who are getting the problem are trying to discuss it the only way they know how...on Farcebook... :laugh:

                                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                1 Reply Last reply
                                0
                                • N newton saber

                                  Facebook seems to be down for me right now. I've heard there've been recent problems. Now, consider this... If you use Facebook as your Social Login at other sites, you probably can't get into those either. Terrible!! Unintended consequences...

                                  D Offline
                                  D Offline
                                  den2k88
                                  wrote on last edited by
                                  #25

                                  Frist reason why I do not usually use FB login. The second is that they can peruse through your posts and informations, I once published a strong and politically uncorrect opinion on a site which I visit only sporadically... and found the company I work for written beside my name. Now, of course it didn't happen anything - and I pulled off from "Public" my company's name, but that's bad privacy, other than a single point of access. A single virus or attack or backdoor on one of my devices connected to FB and I would be fried all over the world. Just a big nope. The only problem I have with many passwords is that many sites - Store them in a retrievable way - Do not accept not alfanumeric characters (so no %$&£#@) which of course I use - Are limited in lenght!! My Inusracne company and other sites limit the size of password TO 8 characters maximum.

                                  GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                                  N 1 Reply Last reply
                                  0
                                  • Z ZurdoDev

                                    newton.saber wrote:

                                    Facebook

                                    newton.saber wrote:

                                    problems

                                    newton.saber wrote:

                                    Terrible

                                    newton.saber wrote:

                                    consequences

                                    Indeed. :thumbsup:

                                    There are only 10 types of people in the world, those who understand binary and those who don't.

                                    C Offline
                                    C Offline
                                    Clodetta del Mar
                                    wrote on last edited by
                                    #26

                                    +5! :thumbsup:

                                    1 Reply Last reply
                                    0
                                    • D den2k88

                                      Frist reason why I do not usually use FB login. The second is that they can peruse through your posts and informations, I once published a strong and politically uncorrect opinion on a site which I visit only sporadically... and found the company I work for written beside my name. Now, of course it didn't happen anything - and I pulled off from "Public" my company's name, but that's bad privacy, other than a single point of access. A single virus or attack or backdoor on one of my devices connected to FB and I would be fried all over the world. Just a big nope. The only problem I have with many passwords is that many sites - Store them in a retrievable way - Do not accept not alfanumeric characters (so no %$&£#@) which of course I use - Are limited in lenght!! My Inusracne company and other sites limit the size of password TO 8 characters maximum.

                                      GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                                      N Offline
                                      N Offline
                                      newton saber
                                      wrote on last edited by
                                      #27

                                      All great points and I agree. Also, I've found that there are lot of sites which limit the password in different ways. It is as if someone completely backwards on security has designed the system. Oh, wait, I think I've figured out the problem. :)

                                      D 1 Reply Last reply
                                      0
                                      • N newton saber

                                        All great points and I agree. Also, I've found that there are lot of sites which limit the password in different ways. It is as if someone completely backwards on security has designed the system. Oh, wait, I think I've figured out the problem. :)

                                        D Offline
                                        D Offline
                                        den2k88
                                        wrote on last edited by
                                        #28

                                        newton.saber wrote:

                                        Oh, wait, I think I've figured out the problem.

                                        Urgent simple user/pass login screen code plz?

                                        GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                                        N 1 Reply Last reply
                                        0
                                        • D den2k88

                                          newton.saber wrote:

                                          Oh, wait, I think I've figured out the problem.

                                          Urgent simple user/pass login screen code plz?

                                          GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

                                          N Offline
                                          N Offline
                                          newton saber
                                          wrote on last edited by
                                          #29

                                          I haz da codz. Rot-13 should do. https://en.wikipedia.org/wiki/ROT13[^]

                                          string EncryptPwd(string clearPwd)
                                          {
                                          // actually this is a lazy ROT13 which
                                          // provides more encryption since no one will ever figure
                                          // out the encryption routine. :)
                                          string cipherPass = string.Empty;
                                          foreach (char c in clearPwd)
                                          {

                                            cipherPass += Convert.ToChar(c + 13);
                                          

                                          }
                                          return cipherPass;
                                          }

                                          string DecryptPwd(string cipherPwd)
                                          {
                                          string clearPass = string.Empty;
                                          foreach (char c in cipherPwd)
                                          {
                                          clearPass += Convert.ToChar(c - 13);
                                          }
                                          return clearPass;
                                          }

                                          NOTE: I marked this as joke, but someone will come along and use it for their SUPERSECURE Web Site. :laugh:

                                          D 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups