LOS ANGELES — The Walt Disney Company has created what it believes is a first-of-its-kind application allowing Facebook users to buy tickets to “Toy Story 3” without leaving the social networking site and while, at the same time, prodding their friends to come along.