Zach Reed

Indianapolis, IN

iamzachreed.com

Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes Okay, I'll try that before I switch everything! Thanks!
Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes Okay, I will switch to that library. So maybe try the Javascript SDK for logging in?
Feb
26
comment Facebook login works on desktop but not mobile
@Jeemusu iPhone
Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes Okay, so I got it working, sort of. I used 'display' => 'touch' in the getLoginUrl parameters if it's a mobile device (codeigniter's $this->agent->is_mobile()). That makes it work, however, it seems like a bad work-around, because sometimes that may not work to detect if it's mobile or not, and then it would still just give that "An error occurred. Please try again later." error. What do you think?
Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes I did notice my "base_facebook.php" file was out of date since an update they recently put out, but it still seems to give me that error. It didn't change anything after I updated it.
Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes When I was trying it earlier, I was logged in. I just logged out and retried it. One thing I noticed was it gave me the "login page" for a desktop, and not a mobile device. Then, after I logged in, I got the same error. Logging out of Facebook on desktop, then trying, didn't seem to make a difference either. Thoughts?
Feb
26
comment Facebook login works on desktop but not mobile
@FabioAntunes Yeah, everything is the same.
Feb
26
asked Facebook login works on desktop but not mobile
Feb
25
comment Comparing JSON arrays by a specific key in PHP
Works great! Thanks. 3v4l.org/fu3Yb
Feb
25
accepted Comparing JSON arrays by a specific key in PHP
Feb
25
revised Comparing JSON arrays by a specific key in PHP
added 20 characters in body
Feb
25
revised Comparing JSON arrays by a specific key in PHP
deleted 151 characters in body
Feb
25
asked Comparing JSON arrays by a specific key in PHP
Feb
3
accepted "Issue viewing email? View email online?" unique link in Codeigniter email
Feb
3
comment "Issue viewing email? View email online?" unique link in Codeigniter email
Thank you! This makes a lot of sense and would work perfectly. How do you recommend that I generate the random hashtag to store? What's the best/secure way to do that portion?
Feb
3
asked "Issue viewing email? View email online?" unique link in Codeigniter email
Dec
14
awarded Altruist
Dec
12
comment Codeigniter 2.1.3: sess_destroy() causes Undefined index: session_id etc notice when 'sess_use_database' == TRUE
I still get all the PHP security stuff... Here is my logout function: gist.github.com/cf9c5c875cb2d53112c9 And I'm just using the rest of the controller directly from: github.com/ilkon/Tank-Auth/blob/master/application/controllers/… Is there a better user auth library that is more up-to-date and works for 2.1.3 better? I saw that Tank Auth was good but I didn't know if there was a better option? I'm starting from scratch here, so I'm not opposed to something else.
Dec
12
comment Codeigniter 2.1.3: sess_destroy() causes Undefined index: session_id etc notice when 'sess_use_database' == TRUE
@SachinPrasad I'm using github.com/ilkon/Tank-Auth for the controller, you can find in that repo. And here is my autoload.php and config.php: gist.github.com/a41221961f49e4e75819
Dec
12
comment Codeigniter 2.1.3: sess_destroy() causes Undefined index: session_id etc notice when 'sess_use_database' == TRUE
The table has data in it.
1 2 3 4 5