我想使用图形api资源管理器发布对特定评论的回复。我怎样才能做到这一点?我尝试了几个建议,包括 POST / {parent_comment_id} / comments?message = {message}。但我可以发表对特定评论的回复。请帮忙。
Plase查看截图Graph api exp screenshot
答案 0 :(得分:0)
从您的网址中删除{}。它应该是from django.conf.urls import url, include
from django.contrib import admin
from django.views.static import serve
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
#Other Urls
. . . . .
. . . . .
# admin
url(r'^admin/', admin.site.urls),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
if settings.DEBUG:
urlpatterns += [
url(r'^media/(?P<path>.*)$', serve, {
'document_root': settings.MEDIA_ROOT
}),
]