Looking for Customer Service & Support

IMPORTANT: This is a Community Forum. Answers are given by the community. If you are a Customer, please, Open New Issue to get access to the support service.

Customer Support is only provided through our ticketing system https://support.extly.com/. If you do not have a paid membership, please create a new topic in the community forum.

"User - AutotweetSobiPro" plugin issue

More
2 years 4 months ago #9427 by jciconsult
jciconsult created the topic: "User - AutotweetSobiPro" plugin issue
Are we correct in thinking that the "User - AutotweetSobiPro" plugin option "Post only once" is set to yes, that only the title is checked?
We have found this appears to be the case, i.e. listings with a title that is a duplicate of an earlier entry will not be put into the autotweet queue unless "Post only once" is set to no.

Examining the code would suggest this is the case:
if ($this->only_once)
		{
			$isDuplicated = PostHelper::isDuplicatedPost(
				null,
				null,
				'autotweetspsocialsubmit',
				null,
				$title,
				JFactory::getDate()->toUnix()
			);

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #9429 by Support Team
Support Team replied the topic: "User - AutotweetSobiPro" plugin issue
Hi,

Yes, you are right. This control was introduced because sometimes User-related events are fired multiple times, generating many posts.

Regards,

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #9430 by jciconsult
jciconsult replied the topic: "User - AutotweetSobiPro" plugin issue
The code is rather lazy because it is possible have multiple posts with similar titles. You should check for ID as well.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #9431 by Support Team
Support Team replied the topic: "User - AutotweetSobiPro" plugin issue
Hi,

ID validation is tricky, you can have multiple posts with the same title but different ID. At the end, title is what only matters to social networks.

Regards,

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Join the Club!

Access and support services to all Extly's extensions for 1-Year. The Extly Club is your source for all of our extensions.

Join Now