UpFeed API Keys
Login Β· Posting Β· Events β integrate UpFeed into your site
Three keys per app: a Login key for sign-in, a Posting key so your site can post to UpFeed, and an Events key for resilient analytics. Login is fully frontend β no backend required.
Get your API Keys
Sign in to create oneGenerate an app to get three keys β Login, Posting, and Events β instantly, no approval needed.
Configure your integration
Post Analytics is exclusive to Partners & Devs β apply here.
Users approve these in the login popup. Request only what you need.
Integration Steps
Generate a Client ID
Paste once β auto-updates
clientId. The button auto-updates whenever we improve the SDK β you never re-copy code.User logs in
Use the tracking ID
tracking_id + the approved fields. Use the tracking ID to identify the user in your app.Event Tracking SDK
auto-retrySend any event from your app to UpFeed. Events are queued locally and retried automatically if a send fails β even after a page reload. Great for analytics, signups, or custom flows.
<!-- UpFeed Events β paste once. Auto-queues & retries failed sends. -->
<script src="https://up-feed.base44.app/upfeed-events.js"></script>
<script>
window.UpFeedConfig = {
clientId: "YOUR_CLIENT_ID", // your Events API key
// endpoint: "https://up-feed.base44.app/functions/upfeedEvents", // optional override
flushEvery: 8000 // ms between automatic flushes
};
</script>
<script>
UpFeedEvents.send("page_view", { url: location.href, title: document.title });
// UpFeedEvents.send("signup", { plan: "pro" });
// failed sends are stored locally and retried automatically β even after a page reload
</script>Add the SDK
<script src="https://up-feed.base44.app/upfeed-events.js"> once. It auto-updates just like the login button.Set your Events API key
Send events
UpFeedEvents.send("page_view", {...}). Failed sends retry with backoff and survive reloads.Live Preview
Updates as you configure
Requesting 3 permissions:
Authorization URL
https://up-feed.base44.app/oauth?client_id=YOUR_CLIENT_ID&redirect_uri=https%3A%2F%2Fyoursite.com%2Fauth%2Fcallback&scope=profile+email+avatar
<!-- UpFeed Login β paste this ONCE. Auto-updates when we improve it; you never re-copy code. -->
<script src="https://up-feed.base44.app/upfeed-login.js"></script>
<script>
window.UpFeedLogin = {
clientId: "YOUR_CLIENT_ID",
redirectUri: "https://yoursite.com/auth/callback",
scopes: ["profile", "email", "avatar"],
buttonStyle: "gradient",
buttonText: "Login with UpFeed",
onSuccess: function(user) {
// user.tracking_id -> stable private ID to identify this user in YOUR app
// user.id, user.name, user.username, user.email, user.avatar... (only requested fields)
console.log("UpFeed login:", user);
},
onError: function(err) { console.warn("Login cancelled:", err); }
};
</script>
<!-- Place this where you want the "Login with UpFeed" button to appear -->
<div data-upfeed-login></div>Paste this once. It loads upfeed-login.js from UpFeed β when we improve the login flow, your button gets the update automatically on the next page load. No re-copying code ever.
Login endpoint
https://up-feed.base44.app/oauthThe snippet calls this automatically. This page is the consent popup users see.
Privacy by design
UpFeed never shares your users' location or IP address with third-party apps. Each app gets a private tracking_id instead of sensitive identifiers. Users can revoke access anytime in Settings.