yeah you reading right you are able to use discord webbook in gcphone and not only in this resource !
thanks i do it
do you know how i would do to separate the images example images from twitter on the webhook from twitter direct message on the separate webhook?
I mean i have setup the twitter to send to a discord webhook for tweets… however i have never known that you could use these webhooks to actually retrieve images taken in game to put IN your tweets… trying this now!
you mean that you want to create logs for only twitter messages in a different webhook ?
you can leave it, I already got it, just put the webhook link on the server side on twitter.lua line 284 I realized that when restarting the server and deleting the cache folder the screenshot or whatever it is bug
if you want to clear cache go inside cache folder and delete everything expect screenshot-basic and yarn cache
I don’t understand how u get it work…
no matter how many times I try, and in different ways ( imgur, image server host or webhook) i’ve always got at the end :
no such export requestscreenshotupload screenshot_basic F8 error
I must be missing something but what … ?? 
Same error, It just freeze when I open camera, I can only go back with right mouse click, any fix? thanks
How to make your twitter like this? thanks 
Have you solved it?
ur the goat man thanksssss
How did u made it work plz share <3
Let me share how I went from mistake to success
First make sure to install “yarn” and “webpack” and “screenshot-basic”
If you don’t have “yarn” and “webpack”, download the latest “cfx-server-data”
“GitHub - citizenfx/cfx-server-data: Data repository for CitizenFX servers.”
Install “yarn” and “webpack”
- Turn on CMD
2.Enter thecd C:\<your server folder>\server-data\resources\[system]\[builders]\yarn - Enter the
npm install
4.Enter thecd C:\<your server folder>\server-data\resources\[system]\[builders]\webpack
5.Enter thenpm install
If successful, there will be more files in the “screenshot-basic” folder
Go to “gcphone\client\client.lua” and change
old
exports['screenshot-basic']:requestScreenshotUpload(data.url, data.field, function(data) local resp = json.decode(data) DestroyMobilePhone() CellCamActivate(false, false) --cb(json.encode({ url = resp.files[1].url })) cb(json.encode({ url = resp.url })) end)
new
exports['screenshot-basic']:requestScreenshotUpload("Your Discord Webhooks", "files[]", function(data) local image = json.decode(data) DestroyMobilePhone() CellCamActivate(false, false) cb(json.encode({ url = image.attachments[1].proxy_url })) end)
Roughly that’s it
Ok can u send the line in the client to send a picture ? Or ur gcphone ?
so image is the link of the image?
Hi all, I can’t figure it out why do i get this thing for hours and never will finish…i’ve tried multiple dowloads from diff places , they all do the same thing…what i’m doing wrong ?
I’m running es_extended 1.2. If someone can help me out that would be awsome !
Thank you,
Proton
legend



