How can you determine when a tweet stops being promoted?
Twitter ads API will return a history of promoted tweets with
<accounts>/:<ad_account>/promoted_tweets
However, as far as I can tell, none of the fields from this endpoint tell us the status of this promotion. Is the tweet still being promoted? Was the tweet deleted? Etc.
This is a problem because if you ask for promoted metrics from the Twitter V2 API on a non-promoted tweet, the entire call fails. The error does not specify why the call failed so we can't recover properly by retrying or calling again without requesting the promoted fields.
Related
I'm using the Twitter API endpoint GET users/lookup to retrieve fully-hydrated user objects for 20 users. All these users exists (they are politicians, old verified accounts, they are not suspended nor deleted). Still, the API does not return everything. I'm missing 8 users. The strange thing is that the endpoint GET users/show works fine with these users. Has anyone encountered this issue and knows what's going on? Maybe there are hidden restrictions (for instance, if they've been massively followed over the last few day? Posting fake news?)?
Using Javascript + jquery Fetch I was able to search using the YouTube API - then it stopped working and now I get error 403 telling me
Access Not Configured. YouTube Data API has not been used in project 482017898664 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project=482017898664 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry
However when I go to that address my API IS ENABLED. And I can run a search from https://developers.google.com/apis-explorer/#p/youtube/v3/.
Why has this stopped working and how do I get it to work again since its saying my API IS ENABLED.
NOTE - "wait a few minutes for the action to propagate to our systems and retry" - I've waited 3 days and its still not working.
I had the same issue. This is because youtube disabled your project's access to Youtube data.
Two things you can check if that's really what happened to you.
You should receive an email from Youtube with subject
[FYI] Youtube disabled your inactive project's data API service
Your Queries per day in the quota page was set to 0. (and you are not allowed to edit it)
The only way to get your access back for the same project is to fill up this form and wait for their action.
I'm attempting to create a new slack command integration that when invoked will fetch a unique set of data for the user. I have the integration working, however the data returned is displayed within slack as a "BOT".
Ideally, the integration will be similar to Giphy. When the /giphy command in slack is invoked, an image is returned that is appended to the user's message. I'd be curious to know how they did this. As far as I can tell, Slack integration APIs only allow responses to be sent as BOTs not as a user or appended to a user's message.
I'm building an RoR application that uses the Facebook Graph API, scraping a users events via their user_access token. I'm essentially taking that user token and making a Graph call to the API, getting all the events the user has either given a rsvp, created, declined, maybe and not_replied response to the events they've been invited to. Here is my query...
GraphAPIEndPoint = [created, declined, maybe, not_replied]
GraphAPIEndPoint.each do|endpoint|
data = Koala::Facebook::API.new(access_token)
events = data.get_connections("me", "events/#{endpoint}", fields: ['id',"name","description","place","start_time","end_time","timezone","ticket_uri", "cover"])
end
This query gives me the desired data but I'm unsure whether I'm getting private events from the user, which I don't want. After I've received the data, I've checked some source url's in my browser, which show a Facebook default error page saying, "Sorry this page isn't available". Other Facebook url's I've tested show me their events as public events, only the ones that seem specific to a group of friends or family give me this default error page. Also, if the events were deleted by the author (which could be an answer as to why I'm getting the default error page), why am I still getting the JSON for the event?
My only assumption is that I am, and if so, what are the privacy parameters to prevent this from happening and give me only the public events?(Please no FQL suggestions)
Thanks for your help!
I am getting statusCode 403 from Twitter API call 'statuses/retweet/:id'. The documentation says it is due to rate limit. But I am not RTing too frequently.
The returned message from Twitter is
twitterReply: '{"errors":"sharing is not permissible for this status (Share validations failed)"}'
The "Sharing is not permissible" usually relates to one of the following:
The user has forbidden retweets.
You have already retweeted that tweet.
The tweet has been deleted.
You have been blocked by the user.
The tweet is your own (you cannot retweet yourself).
Are you able to retweet any other tweets?