w2lame
w2lame

Reputation: 2813

Facebook Like Status Message Box in Drupal

I am building a Drupal website and want to have a facebook like box which create a content namely quotation in my facebook. How can I do this in drupal.. Below the box I want to display other quotations...

Upvotes: 0

Views: 760

Answers (2)

Pierre.Vriens
Pierre.Vriens

Reputation: 2117

Maybe you should look at the Statuses (Social Microblog) module, and combine that with the Message module also. You can then also have the Rules module create message "entities" (which is what you get if you use the Message module). And then just use the power of Views to display those messages that got created in the format you need (page, block, etc).

The Statuses (Social Microblog) module is pretty self explaining. Here is a blueprint of what you'd need to combine it with using (integrating) it with the Message module:

  1. Define an appropriate Message type, using the Message module. Think of Message types as similar to "Content types", which will be used to create Messages, similar to Nodes. I'd imagine that the message text you'll want to use is similar to the eMail or messages your existing rule already produces.

  2. Create a rule with a Rules Action "Create entity" (of type "Message"). Refer to the answer in 'Which user related token(s) can be used to create a Rule for setting up a message type?' for some examples, which are related to these variations of using the Mentions module:

  3. Make sure to also add a Rules Action to pass any relevant tokens from Statuses, via Rules, as Replacement tokens that you can use in your Message type you created with the Message module. Refer to 'What's the purpose of "Replacement tokens" of a Message type?' for more details on this.

  4. Use Views to display the created messages in the format you prefer.

Upvotes: 0

cam8001
cam8001

Reputation: 1641

I guess you could read this. http://www.slideshare.net/eaton/building-twitter-in-drupal-presentation

Upvotes: 2

Related Questions