Announcement

Collapse
No announcement yet.

SC7: Facebook

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SC7: Facebook

    hello everyone,

    Iīm thinking about updating to sc7. But because my update-period is over, I would have to buy that update.
    Most or even only important feature for updating is the facebook-implentation in control-app. So, I have some questions bevore updating:

    What, exactly, does this facebook-auth do and what can I do whith it?
    Does it "only" log-in? Or do I have access to userīs data, can SC post on userīs wall or is there a "like"-functionality?
    The background is, that I have written an app and would like a functionality like this:
    "If the user does a "like" or a "share" on facebook, some additional features are opened."

    So I would have to write an App which notices, if an user pushes like or share.

    Is this possible with SC7?

    Thank you!

  • #2
    Hi Christian, i recommend you to stay a little bit in scriptcase 6, because sc7 has bugs.

    Summary
    Facebook, Twitter and Goolge+ options are not working in sc7 please visit the SC7 example (doesn't work): http://goo.gl/NSrIL.
    I recommend you to use the official SDK for fb,tw and g+.

    Details
    What exactly does this facebook-auth and what can I do whith it?
    Based on scriptcase documentation is only to login. But there is no documentation in SC7 about what to do after you create the facebook application and get APP ID and App Secret ID. How do you get the user name or other data from facebook, who knows (NetMake)?

    Even the SC official example using fb,tw and g+ doesn't work: http://goo.gl/NSrIL

    Does it "only" to log-in?
    Based on scriptcase documentation is only to login.

    Do I have access to userīs data?
    About the data there is no documentation in SC7.

    Can SC post on userīs wall?
    No, But you can post on users wall using SDK. I got an application using facebook sdk.

    Is there a "like"-functionality?
    No, But you can get the plugin on facebook developers and paste it in your sc application.

    About your application:
    You need a "facebook like callback" http://goo.gl/AuhY3

    Is this possible with SC7?
    No, but you can integrate facebook sdk to SC7 and do all you want. I have an sc application to schedule posts and publish on twitter, facebook and login using tw/fb (sdk).
    Last edited by hirambq; 02-24-2013, 08:43 PM.
    Best Regards
    Hiram BQ

    Comment


    • #3
      Hi guys,
      I have been reporting on the bugs forum as well via email to SC for 2 weeks that the authentication sample at http://www.scriptcase.net/phpgenerat...thentications/ does not work. Atleast it doesn't do anything for me when I click on twitter or facebook or google. I presume it implements the 3 api from those sites that allow use to authenticate a user from those site credentials.

      It is not at all clear how this works for 'registration'. I guess there is no registration in the normal sense or someone choosing a username and password. BUT i presume there is some way for us to get access to their email address or require then to give us that??? I really need the ability to send any app user email messages of importance to them.

      Again, it would be nice for SC to explain how this works beyond the 1 page in the webhelp. Also IF the sample actually worked - I and other would feel better about upgrading to V7. I also have a V6 license that is beyond the 1 year, so i have to shell out $$$$ to upgrade, which I will do as soon as I get info on this and couple of other new features.

      Waiting for the bug dust to settle a bit more
      Peace,
      Jamie

      Comment


      • #4
        thank you both for your answers.
        yes - the manual as well as the sample do not help answering any question about how it works and if and how you can access any user data. at least you must will be able to, because how else would you manage the accounts after someone registers. at öeast any kind of ID or a username must be transmitted. but there is no documentation about - and so i asked here in the forum.

        @ hirambq:
        thank you so much for your text. youīre so right with what you wrote.
        i donīt have any experience with the facebook sdk (thats why i thought i could make it easy using sc - maybe i donīt need to train myself in fb sdk using) because i donīt want to develop a big fb-app but just wanna use some little functions.
        so special thanks for the link, i will read it and try to figure out how to use it.
        I have an sc application to schedule posts and publish on twitter, facebook and login using tw/fb (sdk).
        and this works? did you write this on your own or can this be downloaded anywhere?

        so, in the conclusion, it would be great if netmake could
        a) make the samples run
        b) re-write the manual in a way users can understand how to use it
        c) tell us how and where users fb- (and tw and g+) data is submitted.

        Comment


        • #5
          Hi Christian,
          Facebook SDK is really easy to use. Please follow these steps.


          Example using SDK to post on
          Facebook FANPAGE & USER wall

          First, download FB SDK for PHP :
          https://github.com/facebook/facebook-php-sdk
          (You only need the SRC folder)

          To post on FANPAGE wall use this script:
          http://pastebin.com/8q0e1pun

          To post on USER wall use this script:
          http://pastebin.com/R5vxPRKE

          Note: First you need to create a Facebook app to get the appId and Secret (Like in the SC documentation) https://developers.facebook.com/apps
          Last edited by hirambq; 02-25-2013, 06:13 PM.
          Best Regards
          Hiram BQ

          Comment


          • #6
            thank you hirambq. let me have a try.

            but: @netmake:
            this on the other hand, doesnt mean that netmake should not start to work out the manual or make a tutorial or st for fb implementation

            Comment


            • #7
              Hello Christian,

              Have you seen our documentation on Web Help? http://downloads.scriptcase.com.br/d...-Facebook.html

              regards,
              Bernhard Bernsmann

              Comment


              • #8
                Good morning Bernhard,
                I think what some of us need is more explanation about what this will achieve and how in general the social authentication works. The webhelp has all the screens we need to fill in the blanks, but it lacks a narrative at the beginning. I don't understand the security implications of implementing this for my SC project.

                Perhaps you could outline what this will do for us/why we should consider using it?

                Obrigado and peace,
                Jamie

                Comment


                • #9
                  Hello Jamie,

                  Basically by are going to add Facebook's SDK to your project with just a few clicks. Here are a few case studies from business that adopted the SDK (I will just have to confirm with our support team that SC supports every single functionality of the SDK): https://developers.facebook.com/showcase/apps/ (I swi

                  regards,
                  Bernhard Bernsmann

                  Comment


                  • #10
                    Originally posted by onmountain View Post
                    Good morning Bernhard,
                    I think what some of us need is more explanation about what this will achieve and how in general the social authentication works. The webhelp has all the screens we need to fill in the blanks, but it lacks a narrative at the beginning. I don't understand the security implications of implementing this for my SC project.

                    Perhaps you could outline what this will do for us/why we should consider using it?

                    Obrigado and peace,
                    Jamie
                    Hi,

                    Just in case you still have this problem, it baffled me too.

                    I discovered if you create a new project using the "samples" project that comes with v7.1 and run this app called "ctrl_auth", it actually works.

                    It redirects you to the log in page of the clicked soc_network and allows you input your user name and password. However you will find an error because your source url is not recognized by the profile set up by Netmake. If you now replace the credentials with those you obtain by creating a profile your own app, it fetches your ID and name (following entering your user name and password) and displays it for you demonstrating successful interaction with the soc_network's web services for authentication.

                    Other than that, you're on your own in terms of what you can do with it.

                    Comment

                    Working...
                    X