Func to get data frm fb

Enables fb class within fb to query data