This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 18th, 2013  |  syntax: None  |  size: 1.02 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. curl -F 'access_token=...'
  2.      -F 'message=Link with empty source and empty picture'
  3.      -F 'link=http://stackoverflow.com'
  4.      -F 'picture='
  5.      -F 'source='
  6.      https://graph.facebook.com/me/feed
  7.        
  8. curl -F 'access_token=...'
  9.      -F 'message=Link with empty source and empty picture'
  10.      -F 'link=http://cnn.com'
  11.      -F 'source=http://cnn.com'
  12.      https://graph.facebook.com/me/feed
  13.        
  14. curl
  15.      -F "message=test message, attempting to verify solution of SO problem"
  16.      -F "name=StackOverflow"
  17.      -F "link=http://stackoverflow.com/questions/4246170/how-do-i-post-a-link-to-facebook-without-a-thumbnail"
  18.      -F "access_token=you_dont|reallythink|imgonnapostmyrealaccesstoken_doya?"
  19.      "https://graph.facebook.com/11239244970/feed"
  20.        
  21. curl -F 'access_token=...'
  22. -F 'message=404 picture'
  23. -F 'link=http://example.com'
  24. -F 'name=Example'
  25. -F 'description=example.com is not about bbq'
  26. -F 'caption=example.com'
  27. -F 'picture=http://example.com/this/does/not/exist/1.gif'
  28. https://graph.facebook.com/me/feed/
clone this paste RAW Paste Data