Twitter - Status is a duplicate code - 187 - But Isn't - twitter

Using the Twitter REST API, I occasionally see this error,
Status is a duplicate code - 187
But the status is not a duplicate, I searched for any similar posts in the feed, and there are not any. Any idea why Twitter would throw this? The tweet does contain a link.

The standard Twitter Search API only goes back 7 days and then only returns a relevant set of tweets, where the definition of "relevant" is undefined. It's possible that the duplicate was over 7 days old.

Related

Enabled Google Places ApiKey also Shows Can't load search results in iOS Swift

I have enabled Google Places Api from console which is same as my Google Maps ApiKey, and i have updated pod version from 2.7.0 to 3.0.3. and i have regenerated ApiKey also still i am not getting search results.
please help me to sort out this problem.
Places Api
SearchResult
NOTE: I tried all these solution but those are didn't works for me
Can't load search results Google Places ios Swift
Google Places AutoComplete on iOS - Can't Load Search Results - Try Again
The search result showes once in a 100 times after 1st search again its not showing any result.
i don't understand why its happening like this. am i miss anything.
please someone help me to sort out this problem.

Can't load search results Google Places ios Swift

I am using GooglePlaces for my app everything works perfectly but i don't know what happen suddenly i am getting error message "Can't load search results"
my API is already Enabled
NOTE: i had tried following solution but which is not works for me
Google Places AutoComplete on iOS - Can't Load Search Results - Try Again
Google Places iOS - Can't load search result
Someone Please Help!
My issue is solved as i regenerate my google API keys

Get opening hours from GMSPlace in iOS

Is there a way to get opening hours for a GMPlace in iOS SDK?
I could only find - (GMSPlacesOpenNowStatus) openNowStatus [read, assign]
which doesn't contain opening hours, and anyhow appears to be buggy and always return "unknown" (reference: https://code.google.com/p/gmaps-api-issues/issues/detail?id=8160).
Looking for an iOS was to find opening hours, rather than making a GET request from iOS to the web API with the retrieved placeID.
The Google Maps API only returns the following info: https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_place#properties
I checked the MapKit API and it doesn't return anything like that either.
Maybe try the Google search API? I know you get that info back in some cases when doing a google.com search.
https://developers.google.com/custom-search/docs/xml_results#overview

Getting twitter user's actual name, not screen_name

Using Twitter's API, I am able to get the list of tweets and so forth in the following format:
#Beyonce | I released a new music video today, check it out!
I am using "#{$status->user->screen_name} and that works fine, however I wanted to get the name of the account, ie in this case it would be Beyoncé Knowles.
I can't find anything that specifies in the documentation which parameter gets the name so I could use the following format:
Beyoncé Knowles #Beyonce | I released a new music video today, check it out!
Whoops, never mind! Just found it ;)
Use {$status->user->name}

How can I get the next page of friends using the Twitter API?

I am using the api twitterizer2 downloaded from
http://code.google.com/p/twitterizer/downloads/list
but when I try to get the friends of a user I get 100 friends but
I can't get the next 100 friends through the NextPage function.
How can I handle this...?
Twitterizer.TwitterUserCollection userFollowing =
Tw.TwitterUser.GetFriends(tokens,TwitterUrl);
Twitterizer.TwitterUserCollection page2=userFollowing.NextPage;
When I get the next page it returns the same 100 users.
Paging is still being worked out in the beta. I'm planning on having it worked out before I release Beta 2.
Please send additional questions to our mailing list: http://groups.google.com/group/twitterizer

Resources