opportunity of doing sth.
opportunity for (doing) sth.
都是做某事的机会 没有区别
给几个例句:
This gave him an opportunity of collecting his thoughts.
这给了他一个机会镇定下来.
Austin viewed mistakes simply as an opportunity for learning.
奥斯汀把任何错误都看作是学习的机会
This presents both a challenge and an opportunity for us.
这是我们要面对的一场考验,但同时也是一个我们可以掌握的机会.