How to call yammer export api?

%3CLINGO-SUB%20id%3D%22lingo-sub-190081%22%20slang%3D%22en-US%22%3EHow%20to%20call%20yammer%20export%20api%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-190081%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBefore%20I%20call%20the%20export%20api%2C%20I%20can%20get%20the%20groups%2C%20messages%2C%20users%20by%20yammer%20api.%3C%2FP%3E%3CP%3EHowever%2C%20when%20I%20try%20to%20call%20the%20yammer%20export%20api%20in%20node%20js%20project%20(vue)%2C%20I%20always%20get%20the%20following%20error.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20773px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F33182i5B9B03F28B112BE2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202018-04-29%20at%2011.37.33%20PM.png%22%20title%3D%22Screen%20Shot%202018-04-29%20at%2011.37.33%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%2C%20I%20can%20get%20the%20response%20by%20the%20Postman.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20956px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F33183i0E71F1BB603F1D4C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202018-04-29%20at%2011.39.49%20PM.png%22%20title%3D%22Screen%20Shot%202018-04-29%20at%2011.39.49%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20code%20is%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20968px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F33184iF8837AF47E5DB2A7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202018-04-29%20at%2011.41.55%20PM.png%22%20title%3D%22Screen%20Shot%202018-04-29%20at%2011.41.55%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20problem%20stuck%20me%20for%20many%20days%2C%20and%20I%20don't%20what%20wrong%20of%20my%20code.%3C%2FP%3E%3CP%3EIs%20anyone%20can%20help%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-190081%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EREST%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-219572%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20call%20yammer%20export%20api%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-219572%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3Ewhat%20are%20you%20using%20in%20C%23%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebest%20regards%3C%2FP%3E%3CP%3ETerry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217277%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20call%20yammer%20export%20api%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217277%22%20slang%3D%22en-US%22%3ESorry%2C%20still%20no%20way%20to%20solve%20this%20problem.%3CBR%20%2F%3EHowever%2C%20I%20can%20use%20C%23%20to%20get%20the%20export%20data%2C%20so%2C%20instead%2C%20I%20use%20Azure%20Function%20to%20write%20the%20C%23%20code%20to%20do%20a%20proxy%20api%20and%20my%20node%20js%20can%20call%20the%20Azure%20Function%20to%20get%20the%20data.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20think%20this%20is%20just%20a%20workaround%2C%20and%20we%20needs%20someone%20to%20help%20us.%3CBR%20%2F%3EThank%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217044%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20call%20yammer%20export%20api%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217044%22%20slang%3D%22en-US%22%3EI%20am%20looking%20for%20a%20similar%20solution.%3CBR%20%2F%3EIf%20achieved%20solution%2CCan%20you%20guide%20me%20too%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3EHarsh%3C%2FLINGO-BODY%3E
New Contributor

Dear all,

 

Before I call the export api, I can get the groups, messages, users by yammer api.

However, when I try to call the yammer export api in node js project (vue), I always get the following error.

Screen Shot 2018-04-29 at 11.37.33 PM.png

 

But, I can get the response by the Postman.

Screen Shot 2018-04-29 at 11.39.49 PM.png

 

My code is:

Screen Shot 2018-04-29 at 11.41.55 PM.png

 

This problem stuck me for many days, and I don't what wrong of my code.

Is anyone can help me.

 

Thank you.

3 Replies
I am looking for a similar solution.
If achieved solution,Can you guide me too?

Thanks
Harsh
Sorry, still no way to solve this problem.
However, I can use C# to get the export data, so, instead, I use Azure Function to write the C# code to do a proxy api and my node js can call the Azure Function to get the data.

I think this is just a workaround, and we needs someone to help us.
Thank you.

Hi,

what are you using in C# to do this?

 

best regards

Terry