Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
p2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cse332-21wi
p2
Commits
3ee6ed0e
Commit
3ee6ed0e
authored
7 years ago
by
Danny Allen
Browse files
Options
Downloads
Patches
Plain Diff
Update ParseFBMessages.java
parent
52b52190
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p2/wordsuggestor/ParseFBMessages.java
+15
-0
15 additions, 0 deletions
src/p2/wordsuggestor/ParseFBMessages.java
with
15 additions
and
0 deletions
src/p2/wordsuggestor/ParseFBMessages.java
+
15
−
0
View file @
3ee6ed0e
...
...
@@ -16,12 +16,27 @@ public final class ParseFBMessages {
private
ParseFBMessages
()
{
/* should not be instantiated */
}
// INSTRUCTIONS:
//
// <Your FB Name> may be either:
// 1) Your name on Messenger (e.g. "Danny Allen")
// 2) Your username on facebook, which can be found by looking at the URL on your profile
// It's typically 1), but for whatever reason Facebook sometimes labels them
// with 2) (sorry!). You can check which one your messages are labeled with by
// opening up one of the message files and taking a look.
//
// <Your FB Archive> is the directory on your computer where the archive is stored.
// (e.g. "/Users/Me/Downloads/MyArchiveName" or "C:\Users\Me\Downloads\MyArchiveName")
// You may be able to use a relative path like "./MyArchiveName", but results can
// vary from machine to machine.
public
static
void
main
(
String
[]
args
)
throws
IOException
{
if
(
args
.
length
!=
2
)
{
System
.
out
.
println
(
"USAGE: ParseFBMessages <Your FB Name> <Your FB Archive>"
);
System
.
exit
(
1
);
}
// Note: you can replace these with your FB Name and Archive instead of
// using the command line if you'd like.
String
name
=
args
[
0
];
String
archive
=
args
[
1
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment