The actresses accepted the 'Twizzler Challenge' in which two participants bite down on ends of the red licorice candy and chew on it until their lips meet for a kiss.

Dunham and Williams posted a video of their challenge on, with Dunham saying in the footage, "We are here to take the Twizzler Challenge for autism..." as Williams added, "New York Collaborates for Autism, we love you."

After they shared a smooch, Dunham confessed, "I have a cold! I didn't want to tell you until now."

The two then challenged Broad City comediennes Ilana Glazer and Abbi Jacobson, actors Larry David and Rita Wilson, and Scandal's Katie Lowes and Guillermo Diaz, who accepted and posted their own video on social media later that day.

The Twizzler Challenge began earlier this month (Mar15) during annual U.S. telethon Night of Too Many Stars, which works with the organisation New York Collaborates For Autism to raise awareness and funds for research into the developmental disorder.

The candy challenge is the latest charity craze to storm social media following last year's (14) famous Ice Bucket Challenge in support of motor neurone disease/ALS.