Social capital comes from social relationships, which is considered as a kind of civic spirit (Putnam, 1995) or social resources nested in social networks (Bourdieu, 1986;Lin, 2001). Most prior studies operate social capital based on an offline context, such as using trust and offline interactions as measures of social capital (Liu et al., 2016;Spottswood & Wohn, 2020). Accordingly, series of opinions that social capital has been declining in recent years (Putnam, 1995(Putnam, , 1996(Putnam, , 2002 have been widely supported. However, Lin (1999Lin ( , 2001 and Tian (2016) criticize that these opinions ignore online social capital that the Internet has brought in recent years, and they believe the development of the Internet and social network sites (SNS) have changed the form of social capital, that is, from offline to online. The rapid development of the Internet over the past several decades has hugely changed our social behaviors, especially the way by which we socialize (Spottswood & Wohn, 2020). More and more people choose to socialize through SNS. Thus, people are increasingly building and accumulating more online social capital (Lee, 2013;Tian, 2016), and online social capital is becoming a key form of social capital in modern society (Spottswood & Wohn, 2020).