Welcome Guest, Not a member yet? Register   Sign In
phpFlickr as a Library
#10

[eluser]Unknown[/eluser]
I had almost the same problem... i just found out, that the $params are not given correctly.

So i tried this:
Code:
$params['api_key'] = '<MY_API_KEY>';
    $params['secret'] = '<MY_SECRRET>';
    $this->load->library('phpflickr');
    $this->phpflickr->api_key = '<MY_API_KEY>';
    $this->phpflickr->secret = '<MY_SECRET>';
    $this->phpflickr->setToken('<MY_TOKEN>');
    
    $this->phpflickr->enableCache(
        "db",
        "mysql://user:pass@localhost/phpflickr",
        "600"
    );


okey... i had to set the apikey and the secret twice... but this just works out fine for me. =)


Messages In This Thread
phpFlickr as a Library - by El Forum - 08-13-2007, 10:29 AM
phpFlickr as a Library - by El Forum - 09-27-2007, 06:59 AM
phpFlickr as a Library - by El Forum - 05-02-2008, 06:27 AM
phpFlickr as a Library - by El Forum - 05-02-2008, 06:54 AM
phpFlickr as a Library - by El Forum - 05-06-2008, 04:12 PM
phpFlickr as a Library - by El Forum - 05-06-2008, 04:19 PM
phpFlickr as a Library - by El Forum - 05-06-2008, 05:14 PM
phpFlickr as a Library - by El Forum - 05-07-2008, 02:06 AM
phpFlickr as a Library - by El Forum - 05-07-2008, 03:27 PM
phpFlickr as a Library - by El Forum - 09-05-2008, 06:01 AM
phpFlickr as a Library - by El Forum - 03-14-2009, 02:19 PM
phpFlickr as a Library - by El Forum - 03-31-2011, 09:51 AM
phpFlickr as a Library - by El Forum - 07-31-2011, 02:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB