Poke a bunch of holes in the sweet potato with a fork. Place in a 350 degree oven and bake until soft about an hour.
Cool, peel, and mash the potato. Mix with the egg and the flour. Roll the dough into 1 inch diameter logs and cut into 1 inch pieces.
Cook gnocchi in a pot of boiling salted water. They are cooked when they float. Remove from the water and coat with oil.
When ready to serve, heat a large skillet with oil over medium high heat. Add the gnocchi and cook until brown and crisp. Season with salt.