Chryssy Joski - Capstone Project

  • Home
  • Blog
  • About Me
  • Project Notes
  • Code & Resources
  • Home
  • Blog
  • About Me
  • Project Notes
  • Code & Resources

Code & Resources

Code and Resources for future students.  Except for my super secret access passwords.  Those are mine.

Twitter Access Scripts

Below are the three scripts necessary for running the Twitter API portion of this project.  Place them all in the same folder online so they can find each other.  

IMPORTANT NOTE: to the run the script the actually accesses the Twitter API (apicheck.php), you will need to get your own access keys from Twitter.  You will need an Oauth Access Token, an Oauth Access Token Secret, Consumer Key, and a Consumer Secret Key.  I have commented portions of those lines out.  Remove the comments, and enter your keys in quotes, like "ABC123DEF".

OPTIONAL NOTE: upgrade.php was added only because compsci02.snc.edu couldn't handle the JSON portion of the apicheck.php script.  Compsci02 has been updated; I'm not sure if those updates cover what was needed to handle JSON.  Also, if you're hosting it somewhere else, it may not be needed.  If you do not use upgrade.php, be sure to remove line 7 of apicheck.php, which requires upgrade.php.
apicheck.php.txt
File Size: 2 kb
File Type: txt
Download File

twitterapiexchange.php.txt
File Size: 10 kb
File Type: txt
Download File

upgrade.php.txt
File Size: 38 kb
File Type: txt
Download File


Tag Cloud Generator - Genetic Algorithm based (C# code)

I have the code here in two ways; one is just the C# source code (TagCloudV2.cs) and the other is a zipped folder including the solution, designer code and text file used to generate the code.  I also included the first version of my code (TagCloudV1), which does not include a genetic algorithm.
tagcloudv2.cs
File Size: 30 kb
File Type: cs
Download File

tagcloud.zip
File Size: 90 kb
File Type: zip
Download File

tagcloudv1.zip
File Size: 64 kb
File Type: zip
Download File


How To Document

This document discusses how to use the program, from initialization to descriptions of each function.  It also includes descriptions of the various data structures and how they work with each other.
how_to.pdf
File Size: 402 kb
File Type: pdf
Download File

Create a free web site with Weebly