We have developed an automatic DM twitter application and added it in verified twitter account. With this app’s access keys we are trying to use twitter public API’s/through Tweetinvi. but for every call we are getting below error, while debugging we found that it is not even verifying loggedin user(using access keys). We tried to create new app, regenerate access keys but nothing is working for us.
Error converting value xxxxxxxx to type 'System.Collections. Generic.IEnumerable`1[System.Int64]'. Path 'user_id', line 4, position 23. Could not cast or convert from System.Int64 to System.Collections.Generic.IEnume rable`1[System.Int64]. Exception StackTrace: at Newtonsoft.Json.Serialization.JsonSerializerInternal Reader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonCont ract contract, Type targetType)
We are getting this error only for specific twitter account and not for all.
This account is a verified twitter account, but for other verified twitter accounts (even for non-verified) our application is working fine.