Should Prince Harry invite Barack Obama to his wedding...
...even if he doesn't invite US President Donald Trump?
I think he should be able to. Just have the UK government consider Obama as a friend of Prince Harry (which he is) rather than as a diplomat - Obama's presence in the wedding wouldn't be a "state visit".