Users will be able to install apps directly from a tweet. The ads will be powered by MoPub, the ad exchange Twitter acquired in the fall of last year, and will work for both iOS and Android phones.