Hi, thanks for your reply, there were some small errors in my code, I fixed them but now I am getting this error and I have tried alot and I am doing exactly what you said, but I can't resolve this error: "Could not authenticate you (header rejected by twitter)" so please tell me how can I resolve this issue.