Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API does not return the Twitter username attribute in the drop source #48

Open
dan-king opened this issue Jul 1, 2013 · 1 comment
Open

Comments

@dan-king
Copy link

dan-king commented Jul 1, 2013

The API does not include the username attribute in the source details.

In the attached example the source details do include the name ("Chapter 5") and the avatar. But not the username ("@Chapter5band").

swiftriver api - drop details - blank source username

@dan-king
Copy link
Author

Note: the SEARCH request does return the username.

https://wiki.ushahidi.com/display/WIKI/SwiftRiver+API+Search+Resources#SwiftRiverAPISearchResources-GETsearch/drops

This can be used to link back to the twitter account, i.e.:

$twitter_account_page = "https://twitter.com/" .$source['username']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant