Just want to thank you for your wonderful module and detailed Vimeo explanation on how to make the Facebook Autopost work.

What I wanted to do was create a link in a node that when the user clicks the link, a node gets posted to facebook and on return gets a reward, ie userpoints or a role. Then another action to redirect the user to a premium node.

This I did with https://www.drupal.org/project/rules_link

Created a Rules Link:
Entity Type: Content
Content Type: Example 'Article'

In the Rules:
Condition is of Type: Article
Create a new entity: Facebook Publication, type link
Set a data value: entity-created-for-fb:field-facebook-link
Value: mysite.com/node/1
Publish to users timeline: entity-created-for-fb
Add action: redirect to example node/3 (not too sure if this is good practice)

So happy!

Comments

pitxels’s picture

Could you share the rule, or explain in more detail, step by step how you configured this rule?
Thanks

Liliplanet’s picture

Hi! Please follow the detailed explanation by e0ipso at http://vimeo.com/56026903

Once you've done that install https://www.drupal.org/project/rules_link

and follow setting up the rules link as in the top thread.

e0ipso’s picture

@Liliplanet could you please add a recipe to do this in the documentation? I can't find time to fix bugs and contribute documentation at the same time. If you could do that it would be a fantastic way to contribute back to the community.

Tutorials docs: https://www.drupal.org/node/2275389
General docs: https://www.drupal.org/node/1914896

Thank you for contributing!

e0ipso’s picture

Title: Thank You! Works perfectly with Rules Link » Works perfectly with Rules Link.
Status: Active » Closed (works as designed)

Closing :-)

Liliplanet’s picture

Will contribute the documentation as soon as possible, thank you for this wonderful module :)

Liliplanet’s picture

I have created a tutorial on how to reward users when the click on a link that posts to Facebook:

https://www.drupal.org/node/2329215

glitz’s picture

Thanks