A first electronic device (110, 200) comprising: a sensor module configured to collect data; a display configured to display at least a portion of the data; a communication module configured to communicate with a second electronic device (130, 300); a memory configured to store the data; and a processor operatively connected to the sensor module, the display, the communication module, and the memory, the processor is configured to: obtain account information on at least one account joined to a sharing service from the second electronic device (130, 300); analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen (911, 1000) to indicate that the at least one account is in the inactivation state, display a first object, on the execution screen (911, 1000), configured to activate the at least one account, and when the at least one account is in an activation state; display a second object, corresponding to at least one portion of the data, on the execution screen (911, 1000), display, on the execution screen (911, 1000), a third object, which can be selected to allow to share the at least one portion of the data with the sharing service, wherein when the third object is selected, transmitting, to the second electronic device (130, 300), exercise information including the at least one portion of the data. a sensor module configured to collect data; a display configured to display at least a portion of the data; a communication module configured to communicate with a second electronic device (130, 300); a memory configured to store the data; and a processor operatively connected to the sensor module, the display, the communication module, and the memory, the processor is configured to: obtain account information on at least one account joined to a sharing service from the second electronic device (130, 300); analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen (911, 1000) to indicate that the at least one account is in the inactivation state, display a first object, on the execution screen (911, 1000), configured to activate the at least one account, and when the at least one account is in an activation state; display a second object, corresponding to at least one portion of the data, on the execution screen (911, 1000), display, on the execution screen (911, 1000), a third object, which can be selected to allow to share the at least one portion of the data with the sharing service, obtain account information on at least one account joined to a sharing service from the second electronic device (130, 300); analyze the account information to verify the at least one account, wherein when the at least one account is in an inactivation state, display an execution screen (911, 1000) to indicate that the at least one account is in the inactivation state, display a first object, on the execution screen (911, 1000), configured to activate the at least one account, and when the at least one account is in an activation state; display a second object, corresponding to at least one portion of the data, on the execution screen (911, 1000), display, on the execution screen (911, 1000), a third object, which can be selected to allow to share the at least one portion of the data with the sharing service, wherein when the third object is selected, transmitting, to the second electronic device (130, 300), exercise information including the at least one portion of the data.