def update_products_from_linked_account(self, account, add_even_if_removed):
        added_tiids = []
        if account=="twitter":
            pass
            # don't update twitter right now
            # self.update_twitter()
        else:
            account_value = getattr(self, account+"_id", None)
            tiids_to_add = []        
            if account_value:
                try:
                    analytics_credentials = self.get_analytics_credentials()
                except __HOLE__:
                    # AnonymousUser doesn't have method
                    analytics_credentials = {}
                new_products = self.get_new_products(
                        account, 
                        account_value, 
                        analytics_credentials,
                        add_even_if_removed)

                added_tiids = [product.tiid for product in new_products]
        return added_tiids
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/profile.py/Profile.update_products_from_linked_account