Retreiving and analyzing Facebook data with R

2013-11-21

network_plotAs suggested by Julianhi’s Blog post, I installed the CRAN Rfacebook package for the R statistical environment and I created a sample igraph with 20 of my “facebook friends”

## See examples for fbOAuth to know how token was created.

## Getting my network of friends

load(“fb_oauth”)

mat <- getNetwork(token=fb_oauth, format=“adj.matrix”)

library(igraph)

network <- graph.adjacency(mat, mode=“undirected”)

pdf(“network_plot.pdf”)

plot(network)

dev.off()

Comments:

Jbovnd - Dec 0, 2019

I do agree with all of the ideas you’ve offered to your post. They are really convincing and will definitely work. Still, the posts are very short for novices. May just you please prolong them a little from next time? Thank you for the post.

Hi there We are so thrilled I discovered yopur website, I definitely found you by error, while I was searching Yahoo for somethhing otherwise, Anyhow I amm below now and would simply like to ssay many thanks for a tremendous article and an all circular exciting blog (I furthdrmore love the theme/design), I actually don’t have time to be able to proceed through it all from the minute but My partner and i have saved it as well as added in yoiur RSS OR ATOM feeds, then when I pssess time I will get returning to read more, Remember to do carry on thhe amazikng job.


Enter your instance's address


More posts like this