Add time param to Twitter share url, so that the image preview is re-fetched
This commit is contained in:
parent
fe98a61e43
commit
b0e4f6d27a
|
@ -334,7 +334,9 @@ const getTweetText = (contract: Contract, isCreator: boolean) => {
|
|||
contract
|
||||
)} chance, place your bets here:`
|
||||
: `Submit your own answer:`
|
||||
const url = `https://manifold.markets${contractPath(contract)}`
|
||||
|
||||
const timeParam = `${Date.now()}`.substring(7)
|
||||
const url = `https://manifold.markets${contractPath(contract)}?t=${timeParam}`
|
||||
|
||||
return `${tweetQuestion}\n\n${tweetDescription}\n\n${url}`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user