api working using oAuth token now
api fully working. added some error catching