This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add Facebook attachment upload api #899
Merged
benbrown
merged 8 commits into
howdyai:master
from
ouadie-lahdioui:facebookAttachmentUploadAPI
Jun 27, 2017
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7e16b49
add attachment_upload to facebook_botkit.api
ouadie-lahdioui a4a4c2a
Add upload and postApi methods
ouadie-lahdioui 0aadb15
Add upload method
ouadie-lahdioui 8af4916
Change message structure
ouadie-lahdioui 10debc2
Add attachment upload api example
ouadie-lahdioui a91d6c1
Change image url
ouadie-lahdioui 1da1b3d
add an example to facebook readme file
ouadie-lahdioui ba64ec6
Clean up facebook_bot.js
ouadie-lahdioui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
0 info it worked if it ends with ok | ||
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] | ||
2 info using [email protected] | ||
3 info using [email protected] | ||
4 verbose stack Error: missing script: start | ||
4 verbose stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:151:19) | ||
4 verbose stack at /usr/local/lib/node_modules/npm/lib/run-script.js:61:5 | ||
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5 | ||
4 verbose stack at checkBinReferences_ (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45) | ||
4 verbose stack at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3) | ||
4 verbose stack at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5) | ||
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:311:12 | ||
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16 | ||
4 verbose stack at tryToString (fs.js:455:3) | ||
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12) | ||
5 verbose cwd /Users/SOAT-OLA/works/projects/botkit | ||
6 error Darwin 16.5.0 | ||
7 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" | ||
8 error node v6.9.1 | ||
9 error npm v3.10.8 | ||
10 error missing script: start | ||
11 error If you need help, you may report this error at: | ||
11 error <https://github.com/npm/npm/issues> | ||
12 verbose exit [ 1, true ] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @ouadie-lahdioui can you take out these actual keys?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something is wrong with examples/facebook_bot.js, i will clean it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.