O'Reilly Forums: Twitter Chapter 3 - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Twitter Chapter 3 using Pyth 3.1, tweepy library, error 410

#1 User is offline   muzima 

  • New Member
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 21-December 13
  • Gender:Male
  • Location:Moscow,Russia
  • Interests:Snowboarding, classical music, Greek language. I'd like to learn how to create apps for my Android. Aim - creating app for my Greek dictionary by my own.

Posted 28 December 2013 - 03:24 AM

Hi! Every time I run the program i have the following error:

Traceback (most recent call last):
File "E:/PT/mine/3/coffe(TWepy).py", line 47, in <module>
tweet("Buy please!")
File "E:/PT/mine/3/coffe(TWepy).py", line 16, in tweet
api.update_status(msg)
File "E:\PT\lib\site-packages\tweepy-1.4-py3.1.egg\tweepy\binder.py", line 153, in _call
raise TweepError(error_msg)
tweepy.error.TweepError: Twitter error response: status code = 410

Does Anybody faced with it? What does it mean? Do Any problems with twitter exist or there is a fail of the program?

Below is expalantion of the error code from

https://dev.twitter....codes-responses

410 Gone This resource is gone. Used to indicate that an API endpoint has been turned off. For example: "The Twitter REST API v1 will soon stop functioning. Please migrate to API v1.1."

This post has been edited by muzima: 28 December 2013 - 03:26 AM

0

#2 User is offline   paulbarry 

  • Advanced Member
  • PipPipPipPipPipPipPipPip
  • Group: O'Reilly Author
  • Posts: 306
  • Joined: 20-August 09

Posted 04 January 2014 - 11:58 PM

Twitter have changed the API (again), which is invalidating your code.

--Paul.
0

#3 User is offline   #TM# 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 10-December 12
  • Gender:Not Telling

Posted 05 January 2014 - 11:01 PM



Hello @muzima, can you please show the script you have written.

Alternatively, you can follow my blog link (below).

My blog link on sending msg to twitter


Hope it will help.



:) B)

This post has been edited by #TM#: 05 January 2014 - 11:04 PM

0

#4 User is offline   #TM# 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 10-December 12
  • Gender:Not Telling

Posted 05 January 2014 - 11:05 PM

View Postmuzima, on 28 December 2013 - 03:24 AM, said:

Hi! Every time I run the program i have the following error:

Traceback (most recent call last):
File "E:/PT/mine/3/coffe(TWepy).py", line 47, in <module>
tweet("Buy please!")
File "E:/PT/mine/3/coffe(TWepy).py", line 16, in tweet
api.update_status(msg)
File "E:\PT\lib\site-packages\tweepy-1.4-py3.1.egg\tweepy\binder.py", line 153, in _call
raise TweepError(error_msg)
tweepy.error.TweepError: Twitter error response: status code = 410

Does Anybody faced with it? What does it mean? Do Any problems with twitter exist or there is a fail of the program?

Below is expalantion of the error code from

https://dev.twitter....codes-responses

410 Gone This resource is gone. Used to indicate that an API endpoint has been turned off. For example: "The Twitter REST API v1 will soon stop functioning. Please migrate to API v1.1."




Hello @muzima, can you please show the script you have written.

Alternatively, you can follow my blog link (below).

My blog link on sending msg to twitter

I have also written the script using tweepy
but tweepy will not work with python-3.x (I have tried to install it multiple times, but failed)

Hope it will help.



:) B)

This post has been edited by #TM#: 05 January 2014 - 11:11 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users