integrateme-co / integrate-io

Cross-Post your blogs between dev.to, Medium and Hashnode 🔀
MIT License
51 stars 15 forks source link

Return The Post URL After Cross Posting #34

Open uzaxirr opened 3 years ago

uzaxirr commented 3 years ago

Is your feature request related to a problem? Please describe. After a Successful cross-post all APIs just returns

{
  "Message": "Blog Successfully Posted"
}

But It would be better if they can also return the Draft URL of the article that is cross-posted

wandersonpsantos commented 3 years ago

hi, id like to take this up

uzaxirr commented 3 years ago

Sure

hi, id like to take this up

Sure, Go Ahead!!

uzaxirr commented 3 years ago

@brijeshshah13

brijeshshah13 commented 3 years ago

@uzair-ali10 would like to pick this up. please assign it to me

brijeshshah13 commented 3 years ago

@uzair-ali10 In the case of Hashnode, it's directly posting the article rather than a draft. Hence, will return the published article's URL.

uzaxirr commented 3 years ago

@uzair-ali10 In the case of Hashnode, it's directly posting the article rather than a draft. Hence, will return the published article's URL.

No Problem, Return the published URL then

brijeshshah13 commented 3 years ago

updated sample API response:

{
    "Message": "Sucessfully Created",
    "Link": "https://hashnode.com/post/load-balancer-101-ckwj1f8xw02zti6s19eq73sar"
}

@uzair-ali10 works?

uzaxirr commented 3 years ago

updated sample API response:

{
    "Message": "Sucessfully Created",
    "Link": "https://hashnode.com/post/load-balancer-101-ckwj1f8xw02zti6s19eq73sar"
}

@uzair-ali10 works?

Change Link to hash_link and for Medium it should be medium_link

brijeshshah13 commented 3 years ago

and for dev.to, dev_link?

uzaxirr commented 3 years ago

and for dev.to, dev_link?

Yep!!