file: fluxtwitter.module, line: 50.

I'm pretty surre you don't want to assign 'fluxtwitter_tweet' but check if entity_type == 'fluxtwitter_tweet' against it :).
It's fixed in the dev-version, however you should also fix it in the beta2-version.