bangali_beta 11 Posted June 13, 2016 Report Share Posted June 13, 2016 (edited) Good Day to you all, I was wondering how do apps and websites verify your twitter or facebook account ? You may have come across blogs where when you want to coment, the blog asks you to comment with your facebook or twitter account. They give you 2 fields to fill-in where one asks for your username and the other asks for your password.I am guessing, when you feed your username and password the blog commenting section uses your login details to login to your account and if successful then your account is verified and you're able to make the comment. Else no.I have also seen some forums do this so you don't have to register to the forum to make posts. My question is, doesn't facebook, twitter etc. terms & conditions forbid you to reveal your passwords to others ? When we submit our passwords to these blogs and forums are we not revealing our passwords to them for them to login with our passwords to verify our accounts? Are we not allowing third parties to use our login details for account verifications ?Is it illegal on the blogs and forums parts to ask us for our usernames and passwords even if they don't store our account credentials onto their servers ?I'm asking all these questions because I'm building a bot that needs it's users to veriy their id. The blogs and forums came to my mind how they do it. And so thinking of getting the bot to do the same. The bot would prompt for the users facebook/twitter usernames & passowrds and then login to their accounts. If logging in is successful then the next step the bot would take from within their accounts is it will click over to their profile page and grab the url of their profile to note as their id. That way, it would identify which user (profile holder) is using the bot. That's all it would do. Now, would this be illegal in any way ? I mean, the bot using their submitted account logging details to login to their accounts and click over to their profile pages to grab their profile url for identifying purpose. Any suggestions and feedbacks are welcome. PS - When you sell your bot to a customer, if you program it to work only for a certain facebook/twitter profile holder then whoever uses the bot you can get your bot to force the user to likewise login to their facebook/twitter account using their account credentials. You can program the bot to click over to the profile page and check if it's the right profile. If it is, then the bot would proceed. Else no.If the right person shares his facebook/twitter password with his mates and they use pirate copies of your bots then I'm afraid they'd be able to use your bot. But who in their right mind would share their facebook/twitter passwords with their mates ? Edited June 13, 2016 by bangali_beta Quote Link to post Share on other sites
bangali_beta 11 Posted June 13, 2016 Author Report Share Posted June 13, 2016 (edited) A year or two back I had come across another way to verify a user's facebook/twitter account. And that is I got the bot not to prompt for their usernames or passwords but got the bot to ask for the user to login to his twitter/facebook account and click the PLAY button on the bot from there. As soon as the PLAY button is clicked, the bot clicks over to the profile page link and checks if it's the right profile. If it is, then it proceeds. Else no. That way, the bot never prompts for the users' usernames or passwords and the users feel safe to use the bot.What do you all think about this idea ? I haven't got anyone else to check how the bot works on their end. It works on my end. Edited June 13, 2016 by bangali_beta Quote Link to post Share on other sites
bangali_beta 11 Posted June 13, 2016 Author Report Share Posted June 13, 2016 Any helpful replies to this thread would be appreciated as your answers maybe just the answers I'm looking for to finish my bot mentioned here:http://network.ubotstudio.com/forum/index.php/topic/19554-check-if-my-bot-earns-you-money-while-you-test-it-for-free/Without the right answers in this thread, the bot I mentioned on the above link will have to come to a stand-still. Quote Link to post Share on other sites
VentureOnline 49 Posted June 13, 2016 Report Share Posted June 13, 2016 Those Facebook and Twitter logins use OAuth to login through their API's. There are no passwords given. Its secure. https://dev.twitter.com/oauth 2 Quote Link to post Share on other sites
abbas786 78 Posted June 14, 2016 Report Share Posted June 14, 2016 Implement OAuth as suggested by VentureOnline .Here are some other solutions as well Wordpress Plugins http://codecanyon.net/item/userpro-user-profiles-with-social-login/5958681 https://wordpress.org/plugins/oa-social-login/ http://codecanyon.net/item/social-auth-wordpress-plugin/1252253 https://wordpress.org/plugins/rpx/ https://wordpress.org/plugins/facebook-comments-for-wordpress/ Other Commenting System https://disqus.com https://jetpack.com http://www.intensedebate.com/ Facebook Comments Plugin https://developers.facebook.com/docs/plugins/comments How To Add Facebook Comments to your theme http://code.tutsplus.com/tutorials/add-facebook-comments-to-your-wordpress-theme--wp-20864 Build Your First Twitter App Using PHP in 8 Easy Steps http://iag.me/socialmedia/build-your-first-twitter-app-using-php-in-8-easy-steps/ 1 Quote Link to post Share on other sites
bangali_beta 11 Posted June 15, 2016 Author Report Share Posted June 15, 2016 VentureOnline and Abbas786, Thank you very much for your inputs. I had a look at 0Auth. It's way over my head how I can make use of it. Apart from Ubotting I don't know any other programming languages. Hence, the difficulty. trying to learn Php but I can't find any tutorials online for Php 7. Quote Link to post Share on other sites
abbas786 78 Posted June 15, 2016 Report Share Posted June 15, 2016 Hey, You can start learning php by installing WAMP (Apache, MySQL, PHP) on ur windows machine. Here is the tutorial How To Install PHP on Windows Machine http://www.tutorialchip.com/php/wamp-server-installation-guide-for-windows-7-3264-bits/ http://www.wikihow.com/Install-WAMP PHP Startup Tutorials http://www.w3schools.com/php/ http://www.tutorialspoint.com/php/ Hope it helps Quote Link to post Share on other sites
bangali_beta 11 Posted June 24, 2016 Author Report Share Posted June 24, 2016 Hey, You can start learning php by installing WAMP (Apache, MySQL, PHP) on ur windows machine. Here is the tutorial How To Install PHP on Windows Machine http://www.tutorialchip.com/php/wamp-server-installation-guide-for-windows-7-3264-bits/ http://www.wikihow.com/Install-WAMP PHP Startup Tutorials http://www.w3schools.com/php/ http://www.tutorialspoint.com/php/ Hope it helps Thanks. But these tutorials don't teach php 7 but older versions. Quote Link to post Share on other sites
tnhomestead 16 Posted July 10, 2016 Report Share Posted July 10, 2016 PHP 7 is the same(pretty much) as 5.6. Any tutorial that teaches 5.4 or better PHP will work to learn from. Even an earlier version of PHP is fine, just download WAMP or another such system to your computer and play. There are a couple good tutorials on Udemy, one has over 50 hours of content. And a lot of tutorials on youtube as well. A good place to start is here at http://www.w3schools.com/Php/, its not the best but it will give you a good primer on PHP. I was at a launch perty for 7, and one of the core devs told us all the new changes -- you wont notice the changes for 7 for a while.Thats why right now even most open source projects run fine on 5.4, 5.5 or 5.6. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.