Using flickr api in custom wordpress plugin

I see two issues right off the bat that are going to cause problems:

$this->myApiKey = $flickr_key;
$thix->myApiSecret = $flickr_secret;
  1. myApiKey and myApiSecret aren’t in your code anywhere, so setting them here isn’t doing anything. They should be $this->flickr_key and $this->flickr_secret.
  2. You have a typo in the 2nd line above. Change $thix to $this and give it a go.