Twitter POST statuses/update_with_media Example / Demo Download

Integrating Twitter in website to POST image status using Twitter POST statuses/update_with_media. Updates the authenticating user’s current status and attaches media for upload. In other words, it creates a Tweet with a picture attached. Check https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media for more details

live_demo Live DemoDownload Download

Twitter POST statuses/update_with_media Example / Demo Download

Get API_KEY and API_SECRET From you Twitter APP:

1. Go to https://apps.twitter.com/app/new to create new twitter App
Twitter Create APP

2. Don’t forgot to fill callback URL in App.(You can see in my demo downloaded file)
eg: http://demo.stackcomplete.com/twitter-post-status-with-media-demo/callback.php

3. Change permissions to read and write in App setting.
Change Twitter Permissions

4. Get your API_KEY and API_SECRET
Get your API_KEY and API_SECRET

5. Change API_KEY and API_SECRET in config.php file

config.php

6. Get other files from downloaded flies