Questions tagged [snapchat]

Snapchat is a mobile photo messaging application. Use this tag for programming-specific questions regarding the usage of Snapchat, Snapchat's APIs, or Snap Kit development tools. Questions regarding general usage of the app or platform are off-topic.

Snapchat is a mobile photo messaging application which allows users to take photos, record videos, add text and drawings, and send content to a controlled list of recipients, with read receipts to indicate whether recipients have viewed messages.

Snapchat offers a set of development kits under a collective umbrella called Snap Kit. These include:

Questions using the tag should relate to the usage of Snapchat in a developmental or programmatic context, either through usage of Snap Kit, an API, or some other programming-specific context.

Do not use this tag for non-programming specific or general usage questions about Snapchat or its features, as these are not on-topic on Stack Overflow.

245 questions
5
votes
1 answer

App/Backend-Architecture: How do Snapchat stories load so fast?

Simple question - How do Snapchat stories load so fast, and even when I "skip" an item, the next one is always ready? Snapchat stories is a mix of images and videos, whenever the screen is tapped, the next item starts instantly, no matter if it's an…
schnabler
  • 687
  • 7
  • 23
5
votes
4 answers

How do I correctly use AVPlayer so it doesn't show white screen before playing video?

Every time, when I try to playing a megabyte video using AVPlayer, it initially shows a white screen for a second and then starts the video. Why is this happening if the video is already cached? Is there a way to stop this from happening, so that…
Adp
  • 253
  • 3
  • 11
4
votes
0 answers

Is there a way to get a Users Username (not Display Name) with Snapchats Login Kit?

I am developpong a new app for which it could be helpful to get a Users Snapchat Username from the Login Process provided by Snapchats Login Kit. Getting the Display name and an external ID seems to be possible, but I am interested in finding a way…
4
votes
1 answer

Image and video capture like Snapchat/Instagram stories

I have read online that snapchat and instagram have a different approach to capturing video as opposed to using the camera APIs in Android, this allows them to add filters/stickers etc to the captured content. Can anyone advise on ways to approach…
Hydar M
  • 75
  • 1
  • 4
4
votes
0 answers

image shared to Snapchat using UIActivityViewController gets zoomed and cropped

I'm having problems with sharing images with UIActivityViewController to snapchat. Shared images are zoomed and cropped (it works fine with other apps: facebook, messenger, notes, twitter, viber, iCloud...). Here is my code: let avc =…
dropky
  • 157
  • 1
  • 2
  • 7
4
votes
2 answers

Android share image on snapchat

I'm using this code to share a screenshot of the score: Intent sharingIntent = new Intent(Intent.ACTION_SEND); sharingIntent.setType("image/png"); Uri image = Uri.parse(Environment.getExternalStorageDirectory().toString() +…
cmtut
  • 151
  • 1
  • 10
4
votes
1 answer

How to create SnapChat TableView effect

I have my application set up such that the user can swipe left or right to navigate between view controllers, similar to SnapChat. I implemented this using a UIScrollView with paging enabled. One feature from SnapChat I would also like to implement…
Lahav
  • 781
  • 10
  • 22
4
votes
2 answers

Swipe between activities like SnapChat?

I am developing an application which have multiple activities and I want to implement swipe(left,right,up,down) Transition between activities(Not fragments) like snapchat does.I did some research but I was failed to find a proper approach.Can anyone…
Sanju Talreja
  • 39
  • 2
  • 7
3
votes
0 answers

adb uiautomator dump returns 0,0 bounds for clickable button

I'm trying to automate sending a picture on snapchat, using python and uiautomator dump. When I have taken the picture and am ready to click the send button, the uiautomator dump returns the button with coords 0,0 0,0. All the…
3
votes
0 answers

How are images converted into bitmojis?

Does anyone know how bitmojis are created? Like you take a picture and then the program converts it into a bitmoji for that person. How does that work? What does it do to the image to make it a bitmoji?
Sam
  • 173
  • 6
3
votes
2 answers

snapkit login kit not working Swift Xcode 11.3.1

I am using Xcode 11.3.1 and try to login with snapchat with loginkit I add the add information in info.plist and my code is SCSDKLoginClient.login(from: self, completion: { success, error in if let error = error { …
balkaran singh
  • 2,754
  • 1
  • 17
  • 32
3
votes
1 answer

Timeseries queries with DAY granularity must have a start time that is the start of day (00:00:00) for the account's timezone

I am trying to call Snapchat Marketing API for Ads stats with the end point through Postman https://adsapi.snapchat.com/v1/ads//stats?start_time=2019-08-10T00:00:00-04:00&end_time=2019-09-10T00:00:00-04:00&granularity=DAY Which is…
3
votes
0 answers

What are the tags for snapchat?

I've put meta tags and am using prerender.io to have my webpage's dynamic ( as in the title changes every time) link preview show up when a link is shared on instagram, whatsapp, iOS messaging etc. However, on Snapchat when I message my link to…
YungTiffin
  • 61
  • 5
3
votes
1 answer

How to use AccessToken received from Snapchat to fetch UserData?

Following snapkit Login Documentation (WEB), I implemented server side code and am able to obtain Access Token for the user (Section 2.5 at https://docs.snapchat.com/docs/tutorials/login-kit/web/ ). How do I use this token to actually get user data?…
sudcha
  • 623
  • 6
  • 18
3
votes
0 answers

Mitmproxy not working with snapchat or instagram

So if I use mitmproxy on my mac and then connect to the proxy on my phone and install the certificate, I can inspect traffic from some apps like firefox, crossy road, etc. So it is definitely working. However, when I try to open Snapchat or…
Evan
  • 41
  • 7
1 2
3
16 17