Giter Club home page Giter Club logo

Comments (16)

agusesetiyono avatar agusesetiyono commented on June 18, 2024

fixed.
just change the connect_facebook controller to:
$this->load->model(array('account/account_model', 'account/account_facebook_model'));

but still error when signup, when facebook login button shows,i clicked, then the popup opens up and it immediately closes.

from a3m.

donjakobo avatar donjakobo commented on June 18, 2024

You just grabbed the older code, this was patched recently 9e5667d 👍

from a3m.

agusesetiyono avatar agusesetiyono commented on June 18, 2024

could it signup with facebook succesfully?

from a3m.

donjakobo avatar donjakobo commented on June 18, 2024

I haven't tested:

  • Facebook
  • Twitter

I have tested OpenID, Google & Yahoo as those don't require APP ID's and jumping through hoops.

I'm hoping to setup a demo site so at least I will configure known APP ID's for FB & Twitter

from a3m.

agusesetiyono avatar agusesetiyono commented on June 18, 2024

i still find error when signup, when facebook login button shows,i clicked, then the popup opens up and it immediately closes.
why ?

from a3m.

donjakobo avatar donjakobo commented on June 18, 2024

@agusesetiyono, what error are you getting? Please be very specific if you want someone to assist with this. As mentioned the code for FB + Twitter is untested. Mentioning you get 'an error' does not help.

from a3m.

agusesetiyono avatar agusesetiyono commented on June 18, 2024

when i want to signin with facebook the link is http://mywebsite.com/account/connect_facebook, right? and the facebook login button show, then i click that button, but didnot happen anything, (still not registered as user), so login with facebook fail.

you can try my site at http://masel-fisika.besaba.com

from a3m.

drofnas avatar drofnas commented on June 18, 2024

The commits 3 days ago (load->view issues) should have fixed this. Since I know Facebook is working for me.

from a3m.

agusesetiyono avatar agusesetiyono commented on June 18, 2024

still not working for me to connect with facebook, im confused

from a3m.

agusesetiyono avatar agusesetiyono commented on June 18, 2024

@drofnas can you show me your app so i can try that?

from a3m.

drofnas avatar drofnas commented on June 18, 2024

@agusesetiyono
Ok, I think I figured out why it was working all sorts of magically for me. I got a clean copy of the code, updated the Facebook config and the database config as per normal. But when I tried to setup a fake local url in my "hosts" file for "dev.a3mlocal.com", it didn't work. I tried looking through my app to see if I changed something, but nope.

So I tried creating another Facebook application from a live domain, one of my personal websites. Setup my hosts file to point to "dev.some_live_url.com" and it worked right away, the Log In button functioned properly, a new user was created, everything. So it seems you need to point Facebook to a live domain for this to work. At least that is the best I can tell from this minor testing.

Update: I pointed "dev.some_live_url.com" to 127.0.0.1, I did not have to publish to my web host in order for this to work, it just seems as though the base domain needs to be a live domain.

@donjakobo
Might be a good thing to mention in the README file ^^

from a3m.

iam1980 avatar iam1980 commented on June 18, 2024

If you have Gzip compression enabled please see this: #20

from a3m.

iam1980 avatar iam1980 commented on June 18, 2024

I think we should close this. I've updated the README section.

from a3m.

donjakobo avatar donjakobo commented on June 18, 2024

Closing per updated readme

from a3m.

donjakobo avatar donjakobo commented on June 18, 2024

Btw @iam1980 I think this 'guide' should be pulled out of the Readme, I can enable the WIKI for this project, OR we create a separate guide, because a readme to me should be simple, quick overview. What you added is fine for now but its more of a how to setup particular things.

I'll tackle this later, thanks for doing this tho, it is well needed :)

from a3m.

iam1980 avatar iam1980 commented on June 18, 2024

I agree. I just felt that this needed to be somewhere.

from a3m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.