[generic plugins] fix twitter.type to twitter.card
[api] improve logging