When I use the slightly longer pin I get no light at all
When you use it how? Using just the longer pin and one of the other pins, connect it as if it were a single LED. If it lights up with the long pin connected to 5v, it is a common anode led. If it lights up with it connected to GND, it is a common cathode.