ahmadfaizalbh / ahmadfaizalbh/django-oembed

"type" : "link" in json and link.html

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Use a twitter status or wikipedia article link with oembed tag

What is the expected output? What do you see instead?

oohembed returns that json for a status link :
{
"title":
"ええい誰かnobotterを108で止めるテクニシャンはおらんのか��
�",
"author_name": "maicos",
"thumbnail_width": 48,
"version": "1.0",
"author_url": "http://friendfeed.com/maicos",
"provider_name": "Twitter Status",
"thumbnail_url":
"http://a1.twimg.com/profile_images/592980418/parman_ribbon2_normal.png",
"type": "link",
"thumbnail_height": 48
}

and in

File "/usr/local/lib/python2.6/dist-packages/oembed/core.py", line 162, in
replace replacement = render_to_string('oembed/%s.html' % resp['type'],
{'response': resp})

tries to find link.html and fails
```

Original issue reported on code.google.com by `hamdiakoguz@gmail.com` on 11 Jan 2010 at 1:10

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.