1. A method comprising: receiving, by a social networking application operating on a mobile device in an offline mode, an input from a user of the mobile device, the input comprising a sequence of characters; executing, by the social networking application, a script received by the mobile device when the mobile device was operated in an online mode, the script being configured to: i) analyze each character in the sequence of characters of the user input as each character is received by the mobile device, and ii) generate a prioritized list of social network contact identifiers, the prioritized list being a prediction of social network contact identifiers associated with the content of the user input and data associated with the script; causing, by the social networking application, the prioritized list of social network contact identifiers to be provided to the user of the mobile device in response to the user input.