Dear Maintainer,

I am building a site, that has blogs which can be posted public or only within a group. Will this module respect private posts and therefore no publish to twitter / or would there be an option for having to opt-in vs opt-out? Have been looking for this option, did not find it.

Thanks a lot in advance
regards
ChrisZZ

Comments

michaek’s picture

You know, I'm really not sure! I don't have my head wrapped around the entire codebase yet, but I will check into that for you.

michaek’s picture

This is only a partial answer: the module currently checks "!empty($node->status)" which means it won't post to Twitter if the node is not published. However, it's not checking to see if (for example) an Anonymous user can view the node, so I don't think it will correctly detect a published but "private" node.

Maybe this use case could be addressed by selecting a user role that should be able to see a node in order to control whether to post to Twitter, defaulting to Anonymous. This seems like an edge case, so I'm not positive whether it'll be addressed in the way I'm describing, but I do think there are likely to be other issues around this.

ChrisZZ’s picture

Thanks a lot michaek, I really appreciate it! I also like the way you want to implement it.

Edge Case? Just think in groups, where you easily mix public with private content...

ChrisZZ’s picture

I think, that an option to either use opt-in or opt-out would be very useful!

13rac1’s picture

Title: Question: Does this module respect access rights OR is there an option to opt-in by default? » Respect content/node access permissions
Version: 6.x-3.0-beta4 » 7.x-5.x-dev
Component: Miscellaneous » Twitter API
Category: support » feature

The exact functionality will need to be fleshed out, but URLs should (optionally?) only be tweeted for content accessible to Anonymous users.

xurizaemon’s picture

Issue summary: View changes
Status: Active » Needs work

Would need to be configurable (can envisage a PPV site not wanting to require anonymous access to promote new content).

DamienMcKenna’s picture

Status: Needs work » Active