0
时不时地在我的手机应用程序,我得到这个错误,这个错误FACEBOOK“遗漏的类型错误:无法读取未定义的属性‘类型’”
Uncaught TypeError: Cannot read property 'type' of undefined
此错误是从以下行来;
if ((post.attachment.media !== undefined) && (post.attachment.media[0].type == "photo"))
我只是有时会得到它,这取决于我认为的新闻提要。有时它完美并且没有错误。有任何想法吗?
谢谢,我已经包括它,并且至今没有再次出现错误!所以它的作品!谢谢 – Dot