Results 1 to 3 of 3
  1. #1
    WernerVonJohn is offline Member
    Join Date
    May 2015
    Rep Power

    Default Increase counter when a post is made?

    I'm still relatively new to Java, and am especially weak when it comes to communicating with servers on the internet and such. I was wondering what the easiest way would be to keep track of everytime someone makes a new post on reddit (social media site, for those who don't know). I want the program to keep track of the number of posts made with a counter, but that's the easy part. How do I set up a program to actually communicate with and monitor reddit's servers in this manner? Thanks in advance for any help!

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: Increase counter when a post is made?

    Step 1: contact the owners of the site and ask if you're actually permitted to do that

    Step 2: ask what methods they have of interfacing with their site (such as a webservice)
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    fredlo2010 is offline Member
    Join Date
    Jan 2014
    Rep Power

    Default Re: Increase counter when a post is made?


    Perhaps you can do this with a http request.

    You can find some documentation about Reddit API here api documentation

    and I skimmed through the documentation and I think this particular section will help you out api documentation


Similar Threads

  1. Why cant i increase a value with 1?
    By behedwin in forum New To Java
    Replies: 17
    Last Post: 10-26-2012, 06:58 PM
  2. Replies: 7
    Last Post: 10-14-2012, 06:05 AM
  3. Replies: 3
    Last Post: 05-04-2009, 03:15 AM
  4. why the number will not increase?
    By rayda in forum New To Java
    Replies: 3
    Last Post: 03-16-2009, 05:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts