Problems Generating a test token on Yammer (making an app)

%3CLINGO-SUB%20id%3D%22lingo-sub-29774%22%20slang%3D%22en-US%22%3EProblems%20Generating%20a%20test%20token%20on%20Yammer%20(making%20an%20app)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-29774%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20attempting%20to%20make%20an%20app%20for%20my%20business%2C%20Returnhound%2C%20on%20Yammer%20in%20order%20to%20generate%20a%20test%20token%20and%20use%20Yammmer%20Connect%20features.%20I%20have%20been%20given%20a%20client%20ID%20after%20entering%20basic%20details%20and%20my%20redirect%20URI%20is%20%3CA%20href%3D%22https%3A%2F%2Freturnhound.com%2F%22%20rel%3D%22nofollow%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Freturnhound.com%3C%2FA%3E.%3C%2FP%3E%3CP%3EHowever%2C%20when%20I%20input%20this%20data%20into%20the%20text%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.yammer.com%2Foauth2%2Fauthorize%3Fclient_id%3D%5B%3Aclient_id%5D%26amp%3Bredirect_uri%3D%5B%3Aredirect_uri%5D%22%20rel%3D%22nofollow%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fwww.yammer.com%2Foauth2%2Fauthorize%3Fclient_id%3D%5B%3Aclient_id%5D%26amp%3Bredirect_uri%3D%5B%3Aredirect_uri%5D%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20receive%20the%20error%20%22invalid%20client%20application%22%20and%20cannot%20authorise.%20Please%20offer%20any%20reasons%20for%20this%20and%20what%20error%20I%20am%20making.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESahil%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-29774%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAuthentication%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%20Embed%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30206%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20Generating%20a%20test%20token%20on%20Yammer%20(making%20an%20app)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30206%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20browser%20are%20you%20using%20for%20the%20call%20to%20the%20below%20URL%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Ehttps%3A%2F%2Fwww.yammer.com%2Foauth2%2Fauthorize%3Fclient_id%3D%5B%3Aclient_id%5D%26amp%3Bredirect_uri%3D%5B%3Aredirect_uri%5D%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERemember%20that%20you%20don't%20need%20the%20brackets%20or%20the%20colons%20in%20the%20actual%20URL%26nbsp%3Byou%20put%20in%20the%20browser.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20it%20should%20be%20something%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Ehttps%3A%2F%2Fwww.yammer.com%2Foauth2%2Fauthorize%3Fclient_id%3DF8WS184esKGGYVidn3Gd%26amp%3Bredirect_uri%3Dhttps%3A%2F%2Freturnhound.com%3C%2FPRE%3E%3CP%3EDoes%20that%20work%20for%20you%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%2C%20your%20existing%20application%20should%20come%20with%20a%20%22Generate%20a%20developer%20token%20for%20this%20applicaiton%22%20button.%20%26nbsp%3BTry%20using%20that%20and%20seeing%20what%20you%20come%20up%20with.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I am attempting to make an app for my business, Returnhound, on Yammer in order to generate a test token and use Yammmer Connect features. I have been given a client ID after entering basic details and my redirect URI is https://returnhound.com.

However, when I input this data into the text:

https://www.yammer.com/oauth2/authorize?client_id=[:client_id]&redirect_uri=[:redirect_uri]

I receive the error "invalid client application" and cannot authorise. Please offer any reasons for this and what error I am making.

Thanks,

Sahil

1 Reply

What browser are you using for the call to the below URL?

 

https://www.yammer.com/oauth2/authorize?client_id=[:client_id]&redirect_uri=[:redirect_uri]

 

Remember that you don't need the brackets or the colons in the actual URL you put in the browser.

 

So it should be something like this:

 

https://www.yammer.com/oauth2/authorize?client_id=F8WS184esKGGYVidn3Gd&redirect_uri=https://returnhound.com

Does that work for you?

 

Also, your existing application should come with a "Generate a developer token for this applicaiton" button.  Try using that and seeing what you come up with.