Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 12-04-2014, 06:33 PM
capturts capturts is offline
Junior Member
 
Join Date: 09-24-13
Posts: 12
iTrader: 0 / 0%
Twitter API - Not all accounts are added to a list

I'm using the Twitter API to add and remove accounts to a list. I add accounts each day and remove "yesterday's" accounts that aren't needed for today. I use a PHP loop to add 90 at a time as the documentation states that you can only add 100 at a time. The loop calls the API 3 times and tries to at 90, 90 and then 50 accounts in this case. But only 67 accounts were added. Then I read this:
Please note that there can be issues with lists that rapidly remove and add memberships. Take care when using these methods such that you are not too rapidly switching between removals and adds on the same list.
So I altered the code and removed all the accounts from the list and then add the required ones on a different page. But still not all are added. But if I reload the 'adding' script more are added each time, but not all of them... There should be 230 accounts today, but it will only add up to 204.

I'm using this: Twitter's "lists/members/create_all" to add multiple accounts.

Any thoughts?
 
Reply With Quote

Advertisement

Advertisement

Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple V7N Accounts Amnesty Week (Added: DO NOT CREATE MULTIPLE IDs) Cricket V7N Forum Support 4 02-06-2010 06:18 PM
List of newly added free directories txt file suresh25 Web Directory Issues 18 04-22-2008 11:35 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:22 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC