Configuring Twitter login and rich embeds for Discourse

Finally ‘fixed’ the site (migrated from phpbb Tuesday) and got embed to work, but the size is crazy - anyone know the fix for that?

「いいね!」 2

They have recently added Environment setting.

My app is set to Development. There are two other options: Production and Staging.

Should I change to either of the two?

「いいね!」 2

Edit: Used the wrong keys lol fixed it

Is there a way to rebuild posts that have Twitter links before the API was set up? Not a huge deal if there’s no way to retroactively embed them but would be cool

「いいね!」 2

how you fix it? my link are broken

「いいね!」 2

I can’t get approved, what did you do to get it so fast?

「いいね!」 2

I assume approvals are going to be very very slow for the foreseeable future, there was a massive staff reduction at twitter recently

「いいね!」 4

Do you know why posts embedded by twitter appear like this?

「いいね!」 1

The upgrading (for free) the twitter dev account to the Elevated tier is crucial to get this to work - Please include in the OP for future discoursers. Thanks. :+1:

「いいね!」 2

What’s the deal with 500 error when posting a topic with one or more twitter embeds?

Sometimes occurs when posting or when editing OP post or maybe another post with twitter links.

I’ve also seen discourse serve the “Oops…” white page message of text post implementation of above twitter API’s guide, though it works, it’s buggy.

Maybe something in configuration side or DNS/Cloudflare needs to be additionally tweaked?

「いいね!」 1

I’m not seeing this issue since running an update a few hours after this post, it was pretty close to latest with only about 36 commits new.

「いいね!」 2

What is OP? i dont understand

「いいね!」 1

Original post. So the first post of the topic is meant. You can also see that the first post was edited and the information was added

「いいね!」 2

Followed the guide and have an elevated account on the twitter apis.

Links to twitter still appears without preview.

「いいね!」 1

Have you tried making an API call from the terminal on the machine in question?

「いいね!」 1

No, can you point me to a guide of how to test it?

「いいね!」 1

Did anyone have an issue with getting elevated access? Described my use cases with links to website and this topic, but got rejected.

「いいね!」 1

Twitter is going to change access to the APIs starting the 9th of this month.

Maybe we should reflect that in the guide so that it’s clear that this will need to use a paid feature of twitter.

「いいね!」 3

It’s been updated.

Here’s a story about it. I’ll be surprised if they manage to make it work by then. It sounds like they don’t even know what they intend to do.

EDIT: Oh. I this might be considered off-topic; I didn’t (completely) mean to make this about whether one might ever want to use twitter. Maybe don’t reply along the lines of “Twitter might not be a good idea” and only with stuff like “I tried it and it {did not work|worked}” :slight_smile:

「いいね!」 4

Color me surprised :stuck_out_tongue:

「いいね!」 5

I actually re-wrote (currently as a draft) the whole tutorial two days before Twitter’s announcement … :sob:

There are still parts to clean up and refine, but since Twitter is going to change its plans, it’s on hold until we know more about it. :crossed_fingers:
If we’re lucky, my re-writing will still be relevant!

「いいね!」 6