Re-implementing Steem Voter

in #utopian-io7 years ago

Re-implementing Steem Voter

Repository

https://github.com/tyraelll/PHP-upvote-comment-bot

What the project is about?

I have thought about contributing to some open source projects out there and while searching, i found this one project which i think should by now be a working tool for its potential users.

Steem Voter is a tool that can be used to upvote posts and also comment at same time. It extends it functionality to been able to upvote and comment on posts of list of users provided by the user.

Steem Voter is a software tool original started by @omeratagun and have been receiving contributions from @akintunde (here and also here) but for some time, it has received little or no contributions. So i decided to pick up this wonderful project and re-implement it. Re-implementing in the sense that, the current stage of the project gives its potential users less idea of what the software is used for.

Having communicated with @omeratagun, i will be re-implementing Steem voter as i plan to make it a more advanced tool that what it is currently.

Technology Stack

All technologies used for this project by the project owner will be maintained but as part of the roadmap for this project, its codebase will be moved to preferably an MVC Architecture Framework to make it maintainable.

Feature Added

  • Users can now upvote via steemconnect: This feature did't seem to have been implemented while testing the app, so i decided to make it work.
  • User specific upvote to upvote posts from a specific user

How I implemented it

I changed the redirect URL which was set to $linkout = 'localhost/steemvote/upvote.php?a='.$author_perm_link; to $api = 'https://v2.steemconnect.com/sign/vote?';

This redirects user to steemconnect for authentication

   // Get username of voter from cookie and store in $voter variable
    $voter = $_COOKIE['voter'];
 
   // Get username of author whose post is to be voted from resources
   $author = $data["author"];
 
   //  Store permlink in variable
   $permlink = $author_perm_link;
 
   // Lets concatenate all variables to form our link
   $linkout = $api."voter=".$voter."&author=".$author."&permlink=".$permlink;


Commits

https://github.com/tyraelll/PHP-upvote-comment-bot/commit/acdbcf551b5e8f6cefcd90d96f3b6e422bfe75a5

https://github.com/tyraelll/PHP-upvote-comment-bot/commit/0b691bc8de92f3bfdef03f2ce7b596976c43161c

Merged Pull Request

https://github.com/tyraelll/PHP-upvote-comment-bot/commit/36a390cca3737d9879de36ac5113b202a4fb7654

Roadmap

  • The current software make use of user's WIF for authentication. It will be changed to make use of steemconnect.
  • Create attractive and descriptive User Interface
  • Improve the User Experience
  • Feature for user to upvote a post and also comment at a go.
  • Feature for user to upvote a list of post from different users and also comment at a go.
Sort:  

I'm sorry but this can't be qualified for an utopian upvote because you don't offer something new or innovative.
There is already an assisting tool provided by SteemConnect here: https://steemconnect.com/sign

Also you can upvote on websites like Steemit, Busy, Dlive.

Your contribution has been evaluated according to Utopian rules and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post,Click here


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Congratulations @steemrcp! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

@therealwolf 's created platform smartsteem scammed my post this morning (mothersday) that was supposed to be for an Abused Childrens Charity. Dude literally stole from abused children that don't have mothers ... on mothersday.

https://steemit.com/steemit/@prometheusrisen/beware-of-smartsteem-scam

And the reason why is because @therealwolf is disgusting slimy pedophile that enjoys abusing kids. Here's proof of him upvoting child porn on the steemit blockchain. bigbadwolf indeed.

And the reason why is because @therealwolf is disgusting slimy pedophile that enjoys abusing kids. Here's proof of him upvoting child porn on the steemit blockchain. bigbadwolf indeed.