There is no "fix" needed here. Its actually a change to a new API, and is therefore, as mentioned originally, not a quick fix. This is something new that needs to be written, not just a bug fix. However there is nothing that is broken. You simply need to request the permission from twitter