# social/urls.py - Unified URLs for all platforms from django.urls import path from django.views.decorators.csrf import csrf_exempt from . import views app_name = 'social' urlpatterns = [ # Dashboard path('', views.dashboard, name='dashboard'), path('dashboard//', views.dashboard, name='dashboard_platform'), # Comments path('/comments/', views.comments_list, name='comments_list'), path('/comments/export/', views.export_comments_csv, name='export_comments_csv'), path('/comment//', views.comment_detail, name='comment_detail'), # Sync path('/sync/', views.manual_sync, name='sync'), path('/sync//', views.manual_sync, name='sync_type'), # OAuth path('auth//', views.auth_start, name='auth_start'), path('callback//', views.auth_callback, name='auth_callback'), # Webhooks path('webhooks/META/', csrf_exempt(views.meta_webhook), name='meta_webhook'), # LinkedIn Webhook Path path('webhooks/linkedin/', csrf_exempt(views.linkedin_webhook), name='linkedin_webhook'), ]