How to Post Tweets Using Custom Code

So far we have learnt how to post tweets using the Twitter Post sub-module and using Rules, and in most use cases, Rules should be enough.

But sometimes it’s easier to get the job done with a bit of custom code.

In this video, we’ll learn how to post tweets programmatically.

Before we can begin, go download the zip file below called “global_post.zip” and place it to your Drupal site.

Place the module folder in “sites/all/modules”. The same folder where contributed modules are stored.

Resources

Scroll to Top