creative-kit-sample icon indicating copy to clipboard operation
creative-kit-sample copied to clipboard

Attachment url not attaching to sticker

Open jjjeeerrr222 opened this issue 2 years ago • 25 comments

The attachment url for SCSDKNoSnapContent does not work?

Here is my code.

let api = SCSDKSnapAPI()
            let sticker = SCSDKSnapSticker(stickerImage: image)
            let snap = SCSDKNoSnapContent()
            snap.sticker = sticker
            snap.caption = caption
            snap.attachmentUrl = "https://google.com"//url.absoluteString
            do {
                try await api.startSending(snap)
                return .success(())
            } catch {
                dump(error)
                return .failure(
                    .failedSnapchatShare(error.localizedDescription)
                )
            }

I don't get any errors, the snapchat app opens with my sticker content but no url is ever visible

jjjeeerrr222 avatar Mar 12 '23 14:03 jjjeeerrr222

im getting the same thing, it was working for me about 4 days ago, last working date was a March 11 post

dondy1996 avatar Mar 16 '23 00:03 dondy1996

also notice that "drag to reposition" stopped working until after the picture is taken - @jjjeeerrr222 you seeing that as well?

dondy1996 avatar Mar 16 '23 00:03 dondy1996

Yes same thing happening for me

jjjeeerrr222 avatar Mar 16 '23 01:03 jjjeeerrr222

@vlisc this is a new issue right? was fine for me days ago and code hasn't changed, and docs haven't been updated

dondy1996 avatar Mar 16 '23 01:03 dondy1996

@jjjeeerrr222 I tried SCSDKSnapPhotoContent which puts the content almost full screen so a different way of doing it. Caption and photo worked, but still the attachmentURL never shows.

If anyone else is seeing this issue, get this thread going because likely won't here back from Snap for weeks, if at all

dondy1996 avatar Mar 16 '23 23:03 dondy1996

Yea I tried all sorts of available snaps but the attachment never works so I gave up on the SDK. Doesn't look like there's a lot of action here

jjjeeerrr222 avatar Mar 16 '23 23:03 jjjeeerrr222

Same here. Still no fix.

On Android: -

  1. It works but the link clickable area goes about 60% below where the link is supposed to be. It's easily noticeable because there's a shimmer right below the link area so its not positioned correctly.
  2. on a Photo Snap (9:16) the link is stacked at bottom with no way to position to link along the X & Y axis

abhinandan-chakraborty avatar Mar 20 '23 12:03 abhinandan-chakraborty

https://twitter.com/SnapforDevs/status/1635638797235879936?cxt=HHwWgIC8ob60-rItAAAA - according to a guy on this, they are ditching the link - which was sort of the point of it for me

dondy1996 avatar Mar 31 '23 21:03 dondy1996

Literally useless if we can't link to anything. Dumpster fire of an SDK

jjjeeerrr222 avatar Mar 31 '23 21:03 jjjeeerrr222

Literally not able to attach the attachment URL. Looking for a quick response from the team.

vaibhavbisht06 avatar Apr 25 '23 05:04 vaibhavbisht06

I'm integrating the SDK add-on URL does have a problem, it doesn't show up! Does anyone have a solution? Thank you so much

SummerZhuQiong avatar Jun 26 '23 12:06 SummerZhuQiong

Hi, Did you find any solution for it ? We are also facing this issue for our project in both iOS and Android platforms.

guptamayank516 avatar Jul 11 '23 15:07 guptamayank516

Any update here???

kcamson avatar Sep 04 '23 16:09 kcamson

I have sent a support request to Snap and will report back if they respond or if I find a solution.

Update I don't think it's a problem with the SDK, since I tried everything from v2.4.0 to v1.14.0, and the issue exists in each.

I still don't understand that if this is the case, how can apps like Sendit successfully use what I assume is the same SDK to create the linked stickers correctly?

I'm also not sure if the valid functionality of the "attachmentUrl" field is dependant on some sort of verification or same-domain constraints. It would be great if Snap released some proper documentation on this SDK as opposed to simply providing the "type" of the property.

Oh, dear Snapchat employees, I beg thee.

@cybersamx would you happen to know anything about this issue? @srisc @davidxiasc

I think all the people above and myself would heartily appreciate some light on this random issue. I am happy to provide as much information as possible.

Update 2 Another user here has confirmed that this bug is not for the lack of a proper implementation but rather a potential flag (or something) in the snapchat app.

kingmeers avatar Nov 23 '23 20:11 kingmeers

https://github.com/Snapchat/creative-kit-sample/issues/89 #89

Badar25 avatar Dec 28 '23 06:12 Badar25

facing the same problem even after our attachment link domain was approved. @mwestergaardsc can you provide any insight?

pkayfire avatar Jan 04 '24 18:01 pkayfire

What do you mean by domain approved? Where did u approved it? On Thu, Jan 4, 2024 at 11:32 PM Peter Kim @.***> wrote:

facing the same problem even after our attachment link domain was approved. @mwestergaardsc https://github.com/mwestergaardsc can you provide any insight?

— Reply to this email directly, view it on GitHub https://github.com/Snapchat/creative-kit-sample/issues/80#issuecomment-1877574771, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5C5RMOXAZDBPQBGAOFXAT3YM3YVRAVCNFSM6AAAAAAVYFCSS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGU3TINZXGE . You are receiving this because you commented.Message ID: @.***>

Badar25 avatar Jan 04 '24 18:01 Badar25

facing the same problem even after our attachment link domain was approved. @mwestergaardsc can you provide any insight?

Where did u approved it? I meanwhere can i apply for it?

Badar25 avatar Jan 04 '24 18:01 Badar25

image image

See Attachment Link Domain header in the Creative Kit section on the Snapchat developer portal. Even after approval I'm still not seeing the attachment link show up.

pkayfire avatar Jan 04 '24 18:01 pkayfire

I cant see it in my portal, "attack link domain" can clarify where did u approved it

Badar25 avatar Jan 04 '24 18:01 Badar25

Should be under your version when you submit the snapchat app for approval.

pkayfire avatar Jan 04 '24 18:01 pkayfire

We appreciate your interest! URL Attachments are no longer broadly supported for shares into Snapchat via Creative Kit, as we are migrating away from this UX. Unfortunately we cannot approve your use case as links for the purpose of driving app downloads or friend connections are not allowed. Wishing you well with all future Flex endeavors. -Snap Kit Team

I just received this response from Snap after querying them on this issue. Seems like they're removing this functionality in most cases

KillianSmith0 avatar May 28 '24 23:05 KillianSmith0

We appreciate your interest! URL Attachments are no longer broadly supported for shares into Snapchat via Creative Kit, as we are migrating away from this UX. Unfortunately we cannot approve your use case as links for the purpose of driving app downloads or friend connections are not allowed. Wishing you well with all future Flex endeavors. -Snap Kit Team

I just received this response from Snap after querying them on this issue. Seems like they're removing this functionality in most cases

Any clue what they mean by "via Creative Kit". Does this mean there's an alternative we can use?

77zv avatar Jul 20 '24 00:07 77zv

Any clue what they mean by "via Creative Kit". Does this mean there's an alternative we can use?

I doubt it. I asked the question specifically about Creative Kit hence why the reference it. We changed the scope so no longer require this API. Feel free to investigate further

KillianSmith0 avatar Jul 29 '24 16:07 KillianSmith0