Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment url not attaching to sticker #80

Open
jjjeeerrr222 opened this issue Mar 12, 2023 · 24 comments
Open

Attachment url not attaching to sticker #80

jjjeeerrr222 opened this issue Mar 12, 2023 · 24 comments

Comments

@jjjeeerrr222
Copy link

jjjeeerrr222 commented Mar 12, 2023

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

@dondy1996
Copy link

dondy1996 commented Mar 16, 2023

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

@dondy1996
Copy link

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

@jjjeeerrr222
Copy link
Author

Yes same thing happening for me

@dondy1996
Copy link

@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
Copy link

@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

@jjjeeerrr222
Copy link
Author

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

@abhinandan-chakraborty
Copy link

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

@dondy1996
Copy link

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

@jjjeeerrr222
Copy link
Author

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

@vaibhavbisht06
Copy link

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

@SummerZhuQiong
Copy link

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

@guptamayank516
Copy link

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

@kcamson
Copy link

kcamson commented Sep 4, 2023

Any update here???

@kingmeers
Copy link

kingmeers commented Nov 23, 2023

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.

@Badar25
Copy link

Badar25 commented Dec 28, 2023

#89 #89

@pkayfire
Copy link

pkayfire commented Jan 4, 2024

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

@Badar25
Copy link

Badar25 commented Jan 4, 2024 via email

@Badar25
Copy link

Badar25 commented Jan 4, 2024

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?

@pkayfire
Copy link

pkayfire commented Jan 4, 2024

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.

@Badar25
Copy link

Badar25 commented Jan 4, 2024

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

@pkayfire
Copy link

pkayfire commented Jan 4, 2024

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

@KillianSmith0
Copy link

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

@77zv
Copy link

77zv commented Jul 20, 2024

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?

@KillianSmith0
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests