social-networking

I want to build a decentralized, reddit-like system using P2P. What existing p2p library should I base it on?

吃可爱长大的小学妹 提交于 2019-12-04 07:55:32
问题 I want to build a decentralized, reddit-like system using P2P. Basically, I want to retain the basic capabilities of reddit, but make it decentralized, to make it more robust and immune to censorship. This will also allow people to develop different clients to match the way they want to browse it. Could you recommend good p2p libraries to base my work on? They should be open-source, cross-platform, robust and easy to use. I don't care much about the language, I can adapt. 回答1: Disclaimer:

How to group similar items in an activity feed

瘦欲@ 提交于 2019-12-04 07:36:27
For a social network site, I have an activity of events from people you follow, and I'd like to group similar types of events made within a short timeframe together, for a more compact activity feed. Imagine how Facebook displays a comma separated list when you 'like' several things in rapid succession: 'Joe likes beer, football and chips.' I understand using the group_by method on ActiveRecord Enumerable results, but there needs to be some initial work done populating a property that I can group by later. My questions deal with both storing activity data in a way that these groupings can be

Does anyone know a good network/graph visualization software - just add data? [closed]

北慕城南 提交于 2019-12-04 07:26:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I want to plot social network visualization, but cannot do much programming. Does anyone know a piece of software that can do network

Is it possible to add Sharing button for Snapchat?

五迷三道 提交于 2019-12-04 05:55:34
I am creating a mobile version of website. I have added many of the social sharing buttons (links) on my website like - Facebook, Linked In, Twitter. Specially for mobile I have added button to share on WhatsApp. Now I am thinking to enable similer link for Snapchat. Is it possible to provide a link on my site to post a snap of stories in snapchat ? I have tried to find out for any API to achive, but doesn't found any thing. From the snapchat blog link following, I found that there is no API available provided by snapchat. http://blog.snapchat.com/post/99998266095/third-party-applications-and

Finding Connected Components using Hadoop/MapReduce

只谈情不闲聊 提交于 2019-12-03 12:53:31
问题 I need to find connected components for a huge dataset. (Graph being Undirected) One obvious choice is MapReduce. But i'm a newbie to MapReduce and am quiet short of time to pick it up and to code it myself. I was just wondering if there is any existing API for the same since it is a very common problem in Social Network Analysis? Or atleast if anyone is aware of any reliable(tried and tested) source using which atleast i can get started with the implementation myself? Thanks 回答1: I blogged

Best way for social sharing in Android

你离开我真会死。 提交于 2019-12-03 11:53:26
问题 I've been looking for a way to share information to social networks. I've found 2 possible solutions: Look for installed apps and sent an intent (like android uses in it's gallery) Use the socials network api When looking for quick ways to implements i say use the installed apps for that but if it goes customization and generalization i think the second option is the best. I've a hard time deciding if one outweighs the other or not. So my question is: What is the best approach? One of the

What are some ways that I can implement notifications in a Rails application?

狂风中的少年 提交于 2019-12-03 10:09:07
The simplest example here to think of are Facebook notifications, for example when somebody posts a comment on your status, likes your photo, or just sends you an invite to some game. What are some ways to implement this in a Rails application, so that the notification is displayed to the user only until he reads it, and possibly with the ability to read it on different platforms. I'm not talking here about real-time-chat-like notifications using server push, but rather some way of showing the user what happened since the last time he visited the site. For example, I read an article and I post

Linkedin: Sharing URL Summary not appearing

故事扮演 提交于 2019-12-03 10:02:21
I'm not sure if this is new behaviour or if it didn't work at all. So I'm using the LinkedIn Customized URL feature, you can look it up here . The URL looks like this: https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn Once I share the URL the provided summary is not shown in the post preview: So I tried with other services like Youtube, Reddit etc. and all posts do not include the provided summary. Unfortunately I can't provide you the open-graph tags I used on my

Differences in centrality measures between igraph and tnet

徘徊边缘 提交于 2019-12-03 09:59:07
问题 I'm trying to obtain centrality measures for a directed, weighted network. I've been using the igraph and tnet packages in R . However, I've discovered some differences in the results obtained using these two packages, and I'm a little confused about the cause of these differences. See below. require(igraph) require(tnet) set.seed(1234) m <- expand.grid(from = 1:4, to = 1:4) m <- m[m$from != m$to, ] m$weight <- sample(1:7, 12, replace = T) igraph_g <- graph.data.frame(m) tnet_g <- as.tnet(m)

How to import Facebook friends to website

隐身守侯 提交于 2019-12-03 09:51:34
问题 I've got a website that has users and users can add each other as friends. Lately, I've been seeing a lot of web apps that have a function where you can import your friends from Facebook directly into their web app. How is this type of import of the Facebook friend list implemented? I looked in the Facebook API docs, and can't really find anything directly on point to this. Presumably I would use the Facebook API to pull a list of the user's friends. From there, how would I then find users on