try another approach to saving altmetric tweets
move commit outside loop
fix key error